Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhelp Pin
reyyy27-Feb-07 3:21
reyyy27-Feb-07 3:21 
AnswerRe: help Pin
krmed27-Feb-07 3:27
krmed27-Feb-07 3:27 
AnswerRe: help Pin
James R. Twine27-Feb-07 3:33
James R. Twine27-Feb-07 3:33 
AnswerRe: help Pin
reyyy27-Feb-07 3:33
reyyy27-Feb-07 3:33 
AnswerRe: help Pin
David Crow27-Feb-07 3:41
David Crow27-Feb-07 3:41 
GeneralRe: help [modified !!!] Pin
toxcct27-Feb-07 3:41
toxcct27-Feb-07 3:41 
GeneralRe: help Pin
reyyy27-Feb-07 3:50
reyyy27-Feb-07 3:50 
GeneralRe: help Pin
toxcct27-Feb-07 3:56
toxcct27-Feb-07 3:56 
reyyy wrote:
std:: is the same as using namespace std; , right


not quite. when you write an identifier, the compiler searches is it the namespaces imported, and in the global namespace. but using too many namespaces at the same time can issue into name ambiguities. so as writing the whole identifier name is not so hard to do, i prefer letting the things clear for the compiler AND for the readers of my code...


reyyy wrote:
and why did you use void main() instead of int main() ?


this answer is in my previous reply. as you have no return statement in your main, you ave then no need to return a value, thus the void.


QuestionRe: help [modified] Pin
reyyy27-Feb-07 4:20
reyyy27-Feb-07 4:20 
AnswerRe: help Pin
toxcct27-Feb-07 4:29
toxcct27-Feb-07 4:29 
QuestionRe: help Pin
reyyy27-Feb-07 4:38
reyyy27-Feb-07 4:38 
AnswerRe: help Pin
toxcct27-Feb-07 4:48
toxcct27-Feb-07 4:48 
GeneralRe: help Pin
Eytukan27-Feb-07 5:46
Eytukan27-Feb-07 5:46 
GeneralRe: help Pin
Rajesh R Subramanian27-Feb-07 6:25
professionalRajesh R Subramanian27-Feb-07 6:25 
QuestionMail Merge concept Pin
Anandan k27-Feb-07 3:20
Anandan k27-Feb-07 3:20 
AnswerRe: Mail Merge concept Pin
prithaa27-Feb-07 5:08
prithaa27-Feb-07 5:08 
AnswerRe: Mail Merge concept Pin
Hamid_RT27-Feb-07 7:40
Hamid_RT27-Feb-07 7:40 
QuestionAuto scroll to specific line in text box Pin
Jim Crafton27-Feb-07 3:16
Jim Crafton27-Feb-07 3:16 
AnswerRe: Auto scroll to specific line in text box Pin
KaЯl27-Feb-07 4:01
KaЯl27-Feb-07 4:01 
GeneralRe: Auto scroll to specific line in text box Pin
Jim Crafton27-Feb-07 4:32
Jim Crafton27-Feb-07 4:32 
GeneralRe: Auto scroll to specific line in text box Pin
KaЯl27-Feb-07 5:45
KaЯl27-Feb-07 5:45 
QuestionProject release problem Pin
david bagaturia27-Feb-07 2:33
david bagaturia27-Feb-07 2:33 
AnswerRe: Project release problem Pin
toxcct27-Feb-07 2:46
toxcct27-Feb-07 2:46 
QuestionWM_RELEASEDCAPTURE(tab) Pin
RaviPK27-Feb-07 1:46
RaviPK27-Feb-07 1:46 
AnswerRe: WM_RELEASEDCAPTURE(tab) Pin
James R. Twine27-Feb-07 2:49
James R. Twine27-Feb-07 2:49 

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.