Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EnumDisplaySettings gives wrong values Pin
Ray Adams15-Nov-04 18:03
Ray Adams15-Nov-04 18:03 
GeneralSchewchuk (revised) Pin
Keck14-Nov-04 23:47
Keck14-Nov-04 23:47 
GeneralSharing Database Connection Pin
shiraztk14-Nov-04 23:20
shiraztk14-Nov-04 23:20 
GeneralHelp! need some tutorials on dialogs in an NONE dialog based application Pin
Ibana14-Nov-04 23:01
Ibana14-Nov-04 23:01 
GeneralRe: Help! need some tutorials on dialogs in an NONE dialog based application Pin
shiraztk15-Nov-04 0:02
shiraztk15-Nov-04 0:02 
GeneralRe: Help! need some tutorials on dialogs in an NONE dialog based application Pin
Michael P Butler15-Nov-04 0:18
Michael P Butler15-Nov-04 0:18 
GeneralA C++ programming question Pin
ting66814-Nov-04 22:56
ting66814-Nov-04 22:56 
GeneralRe: A C++ programming question Pin
Andrew Walker14-Nov-04 23:10
Andrew Walker14-Nov-04 23:10 
ptr[2] is undefined. However under VC.NET in debug mode it is likely to be set to a junk value (0xCCCCCCCC), whilst in debug mode it could be anything.

It's best not to rely upon these values. If you need arrays that are correctly initialised to a default use a std::vector

std::vector<Score> scores;
scores.resize(3);
scores.at( 1 ) = Score("a",10);
scores.at( 2 ) = Score("b",20);



If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts your aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralRe: A C++ programming question Pin
shiraztk14-Nov-04 23:12
shiraztk14-Nov-04 23:12 
Generalcorrect me if i'm wrong Pin
Budric B.15-Nov-04 5:33
Budric B.15-Nov-04 5:33 
GeneralChanging printer settings from the program Pin
Archigal14-Nov-04 22:28
Archigal14-Nov-04 22:28 
GeneralPlease, help me! Pin
Archigal15-Nov-04 2:18
Archigal15-Nov-04 2:18 
QuestionHow to change font color of slide? Pin
cengyikun14-Nov-04 22:15
susscengyikun14-Nov-04 22:15 
GeneralDirectSound Programming with C++ Pin
Sobero14-Nov-04 21:58
Sobero14-Nov-04 21:58 
GeneralRe: DirectSound Programming with C++ Pin
Antony M Kancidrowski15-Nov-04 0:08
Antony M Kancidrowski15-Nov-04 0:08 
GeneralRe: DirectSound Programming with C++ Pin
Sobero15-Nov-04 2:44
Sobero15-Nov-04 2:44 
GeneralRe: DirectSound Programming with C++ Pin
Cedric Moonen15-Nov-04 2:54
Cedric Moonen15-Nov-04 2:54 
GeneralRe: DirectSound Programming with C++ Pin
Sobero15-Nov-04 4:06
Sobero15-Nov-04 4:06 
GeneralRe: DirectSound Programming with C++ Pin
Cedric Moonen15-Nov-04 4:21
Cedric Moonen15-Nov-04 4:21 
GeneralRe: DirectSound Programming with C++ Pin
Sobero15-Nov-04 4:47
Sobero15-Nov-04 4:47 
GeneralRe: DirectSound Programming with C++ Pin
Cedric Moonen15-Nov-04 5:06
Cedric Moonen15-Nov-04 5:06 
GeneralRe: DirectSound Programming with C++ Pin
Sobero15-Nov-04 5:35
Sobero15-Nov-04 5:35 
GeneralRe: DirectSound Programming with C++ Pin
Antony M Kancidrowski15-Nov-04 5:43
Antony M Kancidrowski15-Nov-04 5:43 
GeneralRe: DirectSound Programming with C++ Pin
Sobero15-Nov-04 5:57
Sobero15-Nov-04 5:57 
GeneralRe: DirectSound Programming with C++ Pin
Cedric Moonen15-Nov-04 5:58
Cedric Moonen15-Nov-04 5:58 

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.