Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Efficient string searching (advice required) Pin
John R. Shaw21-Mar-03 11:23
John R. Shaw21-Mar-03 11:23 
GeneralRe: Efficient string searching (advice required) Pin
John R. Shaw21-Mar-03 11:31
John R. Shaw21-Mar-03 11:31 
QuestionHow to Translae a Mapped Drive to a UNC Path Pin
Xilin20-Mar-03 17:20
Xilin20-Mar-03 17:20 
AnswerRe: How to Translae a Mapped Drive to a UNC Path Pin
saierdia20-Mar-03 18:28
saierdia20-Mar-03 18:28 
GeneralGet line height from CRichEditCtrl Pin
lauch220-Mar-03 17:01
lauch220-Mar-03 17:01 
Generalcreate Predefined Macros Pin
mmwhw20-Mar-03 16:32
mmwhw20-Mar-03 16:32 
GeneralRe: create Predefined Macros Pin
Mike Nordell21-Mar-03 4:13
Mike Nordell21-Mar-03 4:13 
GeneralRe: create Predefined Macros Pin
Jambolo23-Mar-03 9:57
Jambolo23-Mar-03 9:57 
You can do is something like this:

class CMyClass
{
    static char const __CLASS__[];
    ...
    void DisplayMyName();
}

...
char const CMyClass::__CLASS__[] = "CMyClass";


However in this case, __CLASS__ is not a macro and the value is not available at compile time. You can't do compile-time string concatenation.
Generalget number from string Pin
wow999920-Mar-03 16:27
wow999920-Mar-03 16:27 
GeneralRe: get number from string Pin
mmwhw20-Mar-03 16:40
mmwhw20-Mar-03 16:40 
GeneralRe: get number from string Pin
Nish Nishant20-Mar-03 17:22
sitebuilderNish Nishant20-Mar-03 17:22 
Generalpointer's high bit Pin
Phil Hamer20-Mar-03 14:50
Phil Hamer20-Mar-03 14:50 
GeneralRe: pointer's high bit Pin
Tim Smith20-Mar-03 15:31
Tim Smith20-Mar-03 15:31 
GeneralRe: pointer's high bit Pin
John M. Drescher20-Mar-03 16:12
John M. Drescher20-Mar-03 16:12 
Generalbitmapp action Pin
el davo20-Mar-03 13:19
el davo20-Mar-03 13:19 
GeneralRe: bitmapp action Pin
Brian Shifrin20-Mar-03 15:32
Brian Shifrin20-Mar-03 15:32 
GeneralRe: bitmapp action Pin
el davo20-Mar-03 15:42
el davo20-Mar-03 15:42 
GeneralRe: bitmapp action Pin
el davo20-Mar-03 17:46
el davo20-Mar-03 17:46 
GeneralRe: bitmapp action Pin
Brian Shifrin20-Mar-03 23:53
Brian Shifrin20-Mar-03 23:53 
GeneralRe: bitmapp action Pin
el davo23-Mar-03 12:12
el davo23-Mar-03 12:12 
GeneralRe: bitmapp action Pin
John R. Shaw21-Mar-03 11:42
John R. Shaw21-Mar-03 11:42 
Questionmodifying auto ip timeout? Pin
gjwkim20-Mar-03 13:13
gjwkim20-Mar-03 13:13 
GeneralTHIS SITE IS DANGEROUS!!!! Pin
Anonymous20-Mar-03 12:42
Anonymous20-Mar-03 12:42 
GeneralExact DataStructure Pin
Anonymous20-Mar-03 11:26
Anonymous20-Mar-03 11:26 
Questionhow to set item for a listbox Pin
liquidsnake18320-Mar-03 11:22
liquidsnake18320-Mar-03 11:22 

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.