Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: winsock error message Pin
d_lite27-Aug-03 22:21
d_lite27-Aug-03 22:21 
Questionhow to convert string to CTime object? Pin
Habbit27-Aug-03 16:13
Habbit27-Aug-03 16:13 
AnswerRe: how to convert string to CTime object? Pin
Ravi Bhavnani27-Aug-03 19:33
professionalRavi Bhavnani27-Aug-03 19:33 
GeneralPre compiled Headers Pin
inrecovery27-Aug-03 14:12
inrecovery27-Aug-03 14:12 
GeneralRe: Pre compiled Headers Pin
Navin27-Aug-03 14:16
Navin27-Aug-03 14:16 
GeneralRe: Pre compiled Headers Pin
inrecovery27-Aug-03 14:25
inrecovery27-Aug-03 14:25 
GeneralRe: Pre compiled Headers Pin
Navin27-Aug-03 16:07
Navin27-Aug-03 16:07 
GeneralRe: Pre compiled Headers Pin
Steve S27-Aug-03 22:55
Steve S27-Aug-03 22:55 
Other opinions vary;

1. Yes, that's fine.

2. I wouldn't necessarily have the 'using namespace', but I might put it in the top of selected sources that use 'std' stuff. I almost never have a 'using namespace' in a header.

3. No difference in terms of compile time etc between automatic and using/create.

4. I don't. Occasionally to include a C/C++ file from some legacy code this means having to turn off 'use precompiled headers' for the odd file, but hey, that's what the project settings are for.

5. Depends. I tend to have Win32, standard, STL, ATL and WTL headers only in stdafx, as they aren't going to change. Individual modules (CPP files) then have only the extra '#include's that they need. That way, altering a project specific header doesn't recompile the whole project.

Unrelated to the question but relevant, unless you're happy to waste hours -- use a source code management system.

Steve S
GeneralMicrosoft 'C' Compiler 6.00 Pin
C. Augusto Proiete27-Aug-03 13:35
C. Augusto Proiete27-Aug-03 13:35 
GeneralRe: Microsoft 'C' Compiler 6.00 Pin
Steve S27-Aug-03 22:49
Steve S27-Aug-03 22:49 
GeneralRe: Microsoft 'C' Compiler 6.00 Pin
C. Augusto Proiete28-Aug-03 3:39
C. Augusto Proiete28-Aug-03 3:39 
Generalpass complex data type from CMyapp to CMyDoc (std MFC stuf) Pin
Member 53141427-Aug-03 12:54
Member 53141427-Aug-03 12:54 
GeneralRe: pass complex data type from CMyapp to CMyDoc (std MFC stuf) Pin
Ravi Bhavnani27-Aug-03 13:12
professionalRavi Bhavnani27-Aug-03 13:12 
GeneralRe: pass complex data type from CMyapp to CMyDoc (std MFC stuf) Pin
Antti Keskinen16-Feb-04 3:04
Antti Keskinen16-Feb-04 3:04 
GeneralAssertion error at CDialog dereived class constructor Pin
Vassilis Papoulidis27-Aug-03 12:47
Vassilis Papoulidis27-Aug-03 12:47 
GeneralRe: Assertion error at CDialog dereived class constructor Pin
valikac27-Aug-03 12:51
valikac27-Aug-03 12:51 
GeneralRe: Assertion error at CDialog dereived class constructor Pin
Dave Bryant27-Aug-03 12:57
Dave Bryant27-Aug-03 12:57 
Generalkeybd_event question Pin
halblonious27-Aug-03 11:53
halblonious27-Aug-03 11:53 
QuestionWhat is a game engine?? Pin
Snyp27-Aug-03 10:09
Snyp27-Aug-03 10:09 
AnswerRe: What is a game engine?? Pin
Jim Crafton27-Aug-03 10:21
Jim Crafton27-Aug-03 10:21 
AnswerRe: What is a game engine?? Pin
Maximilien27-Aug-03 10:26
Maximilien27-Aug-03 10:26 
GeneralASSERT failure Pin
mr200327-Aug-03 9:13
mr200327-Aug-03 9:13 
GeneralRe: ASSERT failure Pin
David Crow27-Aug-03 9:53
David Crow27-Aug-03 9:53 
GeneralRe: ASSERT failure Pin
mr200327-Aug-03 10:11
mr200327-Aug-03 10:11 
GeneralRe: ASSERT failure Pin
David Crow27-Aug-03 10:19
David Crow27-Aug-03 10:19 

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.