Click here to Skip to main content
15,898,855 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What do employers mean by .Net experience Pin
Chris Losinger2-Sep-05 10:43
professionalChris Losinger2-Sep-05 10:43 
QuestionThreading problem.. Pin
Laing,James2-Sep-05 8:42
Laing,James2-Sep-05 8:42 
AnswerRe: Threading problem.. Pin
Gary R. Wheeler3-Sep-05 2:43
Gary R. Wheeler3-Sep-05 2:43 
GeneralRe: Threading problem.. Pin
Laing,James3-Sep-05 7:27
Laing,James3-Sep-05 7:27 
Question:: operator Pin
celllllllll2-Sep-05 7:47
celllllllll2-Sep-05 7:47 
AnswerRe: :: operator Pin
PJ Arends2-Sep-05 8:26
professionalPJ Arends2-Sep-05 8:26 
GeneralRe: :: operator Pin
celllllllll2-Sep-05 8:50
celllllllll2-Sep-05 8:50 
GeneralRe: :: operator Pin
PJ Arends2-Sep-05 9:03
professionalPJ Arends2-Sep-05 9:03 
Preeti9 wrote:
I know that this is scope resolution operator but I am not able to understand what it does

It resolves the scope of objectsD'Oh! | :doh: . For example std::string tells the compiler to use the string class that is a member of the std namespace.

In your example ShowList::ShowList( void ) you are declaring the default c'tor of the class ShowList ( a c'tor is a function that has the same name as the class). In the same file you could have a function called MyShowList::ShowList( void ) which would be the ShowList function of the MyShowList class. Without the scope resolution operator the compiler would not be able to tell the two apart.

Read some of the links I gave you earlier, and experiment with some code. The concept is not all that difficult.Smile | :)





"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: :: operator Pin
celllllllll6-Sep-05 10:28
celllllllll6-Sep-05 10:28 
QuestionCPreviewView Class Pin
mikobi2-Sep-05 7:18
mikobi2-Sep-05 7:18 
AnswerRe: CPreviewView Class Pin
PJ Arends2-Sep-05 8:21
professionalPJ Arends2-Sep-05 8:21 
GeneralRe: CPreviewView Class Pin
mikobi2-Sep-05 20:29
mikobi2-Sep-05 20:29 
GeneralRe: CPreviewView Class Pin
mikobi2-Sep-05 20:43
mikobi2-Sep-05 20:43 
GeneralRe: CPreviewView Class Pin
PJ Arends3-Sep-05 8:57
professionalPJ Arends3-Sep-05 8:57 
GeneralRe: CPreviewView Class Pin
mikobi4-Sep-05 21:18
mikobi4-Sep-05 21:18 
GeneralRe: CPreviewView Class Pin
PJ Arends4-Sep-05 21:32
professionalPJ Arends4-Sep-05 21:32 
GeneralRe: CPreviewView Class Pin
mikobi5-Sep-05 3:12
mikobi5-Sep-05 3:12 
GeneralRe: CPreviewView Class Pin
mikobi5-Sep-05 6:49
mikobi5-Sep-05 6:49 
QuestionRS232 problem Pin
transoft2-Sep-05 6:19
transoft2-Sep-05 6:19 
AnswerRe: RS232 problem Pin
Trollslayer2-Sep-05 6:21
mentorTrollslayer2-Sep-05 6:21 
GeneralRe: RS232 problem Pin
transoft2-Sep-05 6:35
transoft2-Sep-05 6:35 
GeneralRe: RS232 problem Pin
Ted Ferenc2-Sep-05 12:33
Ted Ferenc2-Sep-05 12:33 
QuestionSHChangeNotifyRegister notification Pin
ragavan2-Sep-05 4:54
ragavan2-Sep-05 4:54 
AnswerRe: SHChangeNotifyRegister notification Pin
David Crow2-Sep-05 8:49
David Crow2-Sep-05 8:49 
GeneralRe: SHChangeNotifyRegister notification Pin
ragavan2-Sep-05 18:39
ragavan2-Sep-05 18:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.