Click here to Skip to main content
15,896,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to know security context ? Pin
Amarelia9-Aug-04 19:16
Amarelia9-Aug-04 19:16 
GeneralcreateEventObject fails Pin
yourbuddy779-Aug-04 19:05
yourbuddy779-Aug-04 19:05 
GeneralSTATIC Text Color Problem Pin
Anonymous9-Aug-04 19:03
Anonymous9-Aug-04 19:03 
GeneralRe: STATIC Text Color Problem Pin
Johan Rosengren10-Aug-04 0:42
Johan Rosengren10-Aug-04 0:42 
GeneralRe: STATIC Text Color Problem Pin
Johan Rosengren10-Aug-04 1:23
Johan Rosengren10-Aug-04 1:23 
GeneralVisual C++ Standard Edition Pin
zecodela9-Aug-04 16:22
zecodela9-Aug-04 16:22 
GeneralRe: Visual C++ Standard Edition Pin
Antti Keskinen9-Aug-04 20:47
Antti Keskinen9-Aug-04 20:47 
GeneralC++ global const question Pin
Indrawati9-Aug-04 15:34
Indrawati9-Aug-04 15:34 
Hi Could someone point me to some online material about C++ global consts? I need to know in what order are they initialized, where they are stored, etc. For example, in my current program, I use a string defined as:

const char *const A_STRING = "abcdef";

This string is defined in a header file that is included in many other files. The code compiles and links OK, but if I changed the definition to:

const char* A_STRING = "abcdef";

the linker complains that A_STRING was multiply defined.

Thanks!
GeneralRe: C++ global const question Pin
Jeff Bogan9-Aug-04 17:27
Jeff Bogan9-Aug-04 17:27 
GeneralRe: C++ global const question Pin
Anonymous9-Aug-04 18:40
Anonymous9-Aug-04 18:40 
GeneralRe: C++ global const question Pin
Tim Smith10-Aug-04 3:52
Tim Smith10-Aug-04 3:52 
GeneralRe: C++ global const question Pin
Nitron10-Aug-04 5:47
Nitron10-Aug-04 5:47 
GeneralRe: C++ global const question Pin
Jeff Bogan10-Aug-04 5:10
Jeff Bogan10-Aug-04 5:10 
GeneralRe: C++ global const question Pin
Ryan Binns9-Aug-04 18:24
Ryan Binns9-Aug-04 18:24 
GeneralCreateThread is not Calling the function in DLL Pin
aman20069-Aug-04 14:27
aman20069-Aug-04 14:27 
GeneralRe: CreateThread is not Calling the function in DLL Pin
Tim Smith9-Aug-04 14:50
Tim Smith9-Aug-04 14:50 
GeneralRe: CreateThread is not Calling the function in DLL Pin
aman200610-Aug-04 6:21
aman200610-Aug-04 6:21 
Generalmfc word automation problem (normal.dot) Pin
Asleezalio9-Aug-04 10:58
Asleezalio9-Aug-04 10:58 
QuestionSequel encode? Pin
mcgahanfl9-Aug-04 10:28
mcgahanfl9-Aug-04 10:28 
AnswerRe: Sequel encode? Pin
User 127829-Aug-04 10:35
User 127829-Aug-04 10:35 
GeneralRe: Sequel encode? Pin
mcgahanfl9-Aug-04 10:48
mcgahanfl9-Aug-04 10:48 
GeneralRe: Sequel encode? Pin
Stlan9-Aug-04 21:17
Stlan9-Aug-04 21:17 
GeneralRe: Sequel encode? Pin
mcgahanfl10-Aug-04 3:33
mcgahanfl10-Aug-04 3:33 
GeneralSimple DLL calling another DLL Pin
george330279-Aug-04 8:35
george330279-Aug-04 8:35 
GeneralRe: Simple DLL calling another DLL Pin
David Crow9-Aug-04 9:10
David Crow9-Aug-04 9:10 

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.