Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about printf("%ld", ...) Pin
Nitron9-Feb-03 9:49
Nitron9-Feb-03 9:49 
GeneralRe: Question about printf("%ld", ...) Pin
Gary R. Wheeler9-Feb-03 11:34
Gary R. Wheeler9-Feb-03 11:34 
GeneralQuestion about const int& Pin
George28-Feb-03 23:30
George28-Feb-03 23:30 
GeneralRe: Question about const int& Pin
Stephane Rodriguez.8-Feb-03 23:45
Stephane Rodriguez.8-Feb-03 23:45 
GeneralRe: Question about const int& Pin
George28-Feb-03 23:49
George28-Feb-03 23:49 
GeneralRe: Question about const int& Pin
Stephane Rodriguez.9-Feb-03 0:13
Stephane Rodriguez.9-Feb-03 0:13 
GeneralRe: Question about const int& Pin
George29-Feb-03 0:33
George29-Feb-03 0:33 
GeneralRe: Question about const int& Pin
Stephane Rodriguez.9-Feb-03 0:47
Stephane Rodriguez.9-Feb-03 0:47 
George2 wrote:
when you are talking about the side effect, do you mean older functions without const keyword will not compile? If I am not correct, please show
me the correct explanation


It depends if you are talking about your functions, or functions from the MFC that you use.

If that's about your functions, then I don't know : of course I don't know your code so it's not possible to tell if there is anything wrong.

If that's functions from the MFC that you use, then yes, the MFC7 collections (CStringArray, CPtrArray, ...) have now const & everywhere (as a result of the integration of STL), which was not the case with MFC6. If you intend to upgrade to MFC7 someday, be prepared to have tons of problems.
GeneralRe: Question about const int& Pin
George29-Feb-03 0:58
George29-Feb-03 0:58 
GeneralRe: Question about const int& Pin
includeh109-Feb-03 0:38
includeh109-Feb-03 0:38 
GeneralRe: Question about const int& Pin
George29-Feb-03 0:41
George29-Feb-03 0:41 
GeneralRe: Question about const int& Pin
Gary R. Wheeler9-Feb-03 5:06
Gary R. Wheeler9-Feb-03 5:06 
GeneralRe: Question about const int& Pin
Jambolo9-Feb-03 22:39
Jambolo9-Feb-03 22:39 
GeneralESC closing dialog Pin
S O S8-Feb-03 23:18
S O S8-Feb-03 23:18 
GeneralRe: ESC closing dialog Pin
skaanji9-Feb-03 0:47
skaanji9-Feb-03 0:47 
GeneralRe: ESC closing dialog Pin
S O S9-Feb-03 3:22
S O S9-Feb-03 3:22 
GeneralDirectX HELP!!! Pin
Ehsan Baghaki8-Feb-03 22:15
Ehsan Baghaki8-Feb-03 22:15 
GeneralRe: DirectX HELP!!! Pin
Anonymous8-Feb-03 23:03
Anonymous8-Feb-03 23:03 
QuestionWhat means cout.precision (4)? Pin
George28-Feb-03 22:09
George28-Feb-03 22:09 
AnswerRe: What means cout.precision (4)? Pin
Mike Nordell9-Feb-03 2:07
Mike Nordell9-Feb-03 2:07 
QuestionHow to replace the system clock? Pin
dennisV8-Feb-03 21:06
dennisV8-Feb-03 21:06 
AnswerA soldering iron and quite some luck! Pin
Mike Nordell9-Feb-03 15:08
Mike Nordell9-Feb-03 15:08 
AnswerRe: How to replace the system clock? Pin
ELY M.21-Aug-04 5:13
ELY M.21-Aug-04 5:13 
GeneralRe: How to replace the system clock? Pin
dennisV21-Aug-04 14:15
dennisV21-Aug-04 14:15 
Generala global mouse hook Pin
king_of_the_world8-Feb-03 17:30
king_of_the_world8-Feb-03 17:30 

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.