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

C / C++ / MFC

 
GeneralRe: Help with STL and Function Adapters Pin
Joaquín M López Muñoz13-Oct-02 21:13
Joaquín M López Muñoz13-Oct-02 21:13 
GeneralRe: Help with STL and Function Adapters Pin
Neville Franks13-Oct-02 21:33
Neville Franks13-Oct-02 21:33 
GeneralRe: Help with STL and Function Adapters Pin
Joaquín M López Muñoz13-Oct-02 21:35
Joaquín M López Muñoz13-Oct-02 21:35 
GeneralRe: Help with STL and Function Adapters Pin
Stuart Dootson14-Oct-02 18:55
professionalStuart Dootson14-Oct-02 18:55 
GeneralRe: Help with STL and Function Adapters Pin
Neville Franks14-Oct-02 19:18
Neville Franks14-Oct-02 19:18 
GeneralRe: Help with STL and Function Adapters Pin
Stuart Dootson15-Oct-02 7:33
professionalStuart Dootson15-Oct-02 7:33 
QuestionHow To Declare This Array? Pin
ooosawaddee313-Oct-02 9:52
ooosawaddee313-Oct-02 9:52 
AnswerRe: How To Declare This Array? Pin
Navin13-Oct-02 9:55
Navin13-Oct-02 9:55 
YOu can't do it with #define. You should declare it as a const array, like this, using a CString or an STL string:

const CStirng Hash[] =
{
"data",
"data",
...
};

Or you could use char * in a similar way (I believe... no compiler with me at the moment so the syntax might not be 100% correct... Blush | :O ):
const char **hash =
{
"data",
"data",
"data",
...
};


Even a broken clock is right twice a day.
AnswerRe: How To Declare This Array? Pin
BlackKettle13-Oct-02 10:08
BlackKettle13-Oct-02 10:08 
GeneralRe: How To Declare This Array? Pin
Jon Hulatt13-Oct-02 21:37
Jon Hulatt13-Oct-02 21:37 
GeneralRe: How To Declare This Array? Pin
Michael Dunn14-Oct-02 1:04
sitebuilderMichael Dunn14-Oct-02 1:04 
GeneralFLOAT/STRING conversions Pin
Atlence13-Oct-02 9:10
Atlence13-Oct-02 9:10 
GeneralRe: FLOAT/STRING conversions Pin
Joaquín M López Muñoz13-Oct-02 9:21
Joaquín M López Muñoz13-Oct-02 9:21 
GeneralRe: FLOAT/STRING conversions Pin
Atlence14-Oct-02 1:37
Atlence14-Oct-02 1:37 
GeneralRe: FLOAT/STRING conversions Pin
Jason Henderson13-Oct-02 17:14
Jason Henderson13-Oct-02 17:14 
GeneralRe: FLOAT/STRING conversions Pin
jhwurmbach14-Oct-02 1:35
jhwurmbach14-Oct-02 1:35 
GeneralQuestion about how to get the Control's ID in a message handler Pin
Matias13-Oct-02 7:37
Matias13-Oct-02 7:37 
GeneralRe: Question about how to get the Control's ID in a message handler Pin
Joaquín M López Muñoz13-Oct-02 8:32
Joaquín M López Muñoz13-Oct-02 8:32 
GeneralRe: Question about how to get the Control's ID in a message handler Pin
Matias13-Oct-02 11:06
Matias13-Oct-02 11:06 
GeneralGet the Class Name Pin
Gaurika Wijeratne13-Oct-02 7:21
Gaurika Wijeratne13-Oct-02 7:21 
GeneralRe: Get the Class Name Pin
pankajdaga13-Oct-02 10:12
pankajdaga13-Oct-02 10:12 
GeneralRe: Get the Class Name Pin
alex.barylski13-Oct-02 16:30
alex.barylski13-Oct-02 16:30 
GeneralRe: Get the Class Name Pin
alex.barylski13-Oct-02 16:57
alex.barylski13-Oct-02 16:57 
GeneralThreads problem ... Pin
BlackKettle13-Oct-02 5:16
BlackKettle13-Oct-02 5:16 
GeneralRe: Threads problem ... Pin
Stephane Rodriguez.13-Oct-02 5:36
Stephane Rodriguez.13-Oct-02 5:36 

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.