Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A fatal error while compiling Pin
ThatsAlok3-Sep-05 0:18
ThatsAlok3-Sep-05 0:18 
AnswerRe: A fatal error while compiling Pin
Michael Dunn2-Sep-05 23:07
sitebuilderMichael Dunn2-Sep-05 23:07 
GeneralRe: A fatal error while compiling Pin
ILoveCS3-Sep-05 0:40
ILoveCS3-Sep-05 0:40 
GeneralRe: A fatal error while compiling Pin
Michael Dunn3-Sep-05 1:02
sitebuilderMichael Dunn3-Sep-05 1:02 
GeneralRe: A fatal error while compiling Pin
ILoveCS3-Sep-05 3:19
ILoveCS3-Sep-05 3:19 
QuestionHow to make excel addin in vc++ Pin
bhanu pratap2-Sep-05 19:09
bhanu pratap2-Sep-05 19:09 
AnswerRe: How to make excel addin in vc++ Pin
ThatsAlok2-Sep-05 20:55
ThatsAlok2-Sep-05 20:55 
QuestionVC++ Using Blowfish Compiler Error Pin
CooperWu2-Sep-05 16:04
CooperWu2-Sep-05 16:04 
GeneralRe: VC++ Using Blowfish Compiler Error Pin
sunit52-Sep-05 21:10
sunit52-Sep-05 21:10 
GeneralRe: VC++ Using Blowfish Compiler Error Pin
CooperWu3-Sep-05 2:49
CooperWu3-Sep-05 2:49 
AnswerRe: VC++ Using Blowfish Compiler Error Pin
CooperWu3-Sep-05 2:59
CooperWu3-Sep-05 2:59 
Questiona blowfish decrypt/encrypt related question Pin
Torune2-Sep-05 16:03
Torune2-Sep-05 16:03 
QuestionCreating a colored, transparent CStatic Pin
David Fleming2-Sep-05 14:00
David Fleming2-Sep-05 14:00 
AnswerRe: Creating a colored, transparent CStatic Pin
David Fleming2-Sep-05 22:59
David Fleming2-Sep-05 22:59 
QuestionAbsent Thread Pin
Blake Miller2-Sep-05 10:53
Blake Miller2-Sep-05 10:53 
AnswerRe: Absent Thread Pin
Gary R. Wheeler3-Sep-05 2:36
Gary R. Wheeler3-Sep-05 2:36 
QuestionWhat do employers mean by .Net experience Pin
Brian R2-Sep-05 9:31
Brian R2-Sep-05 9:31 
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!

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.