Click here to Skip to main content
15,914,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerHelp! Additional question Pin
Guoguor11-Oct-04 23:19
Guoguor11-Oct-04 23:19 
GeneralRe: Help! Additional question Pin
Sujan Christo11-Oct-04 23:32
Sujan Christo11-Oct-04 23:32 
GeneralCToolBar on a MFC Dialog Pin
sweep12311-Oct-04 23:04
sweep12311-Oct-04 23:04 
Questionhow to use enumfonts? Pin
Lido Paul11-Oct-04 22:54
Lido Paul11-Oct-04 22:54 
AnswerRe: how to use enumfonts? Pin
David Crow12-Oct-04 6:57
David Crow12-Oct-04 6:57 
Generalchar * & char [] Pin
sarath_babu11-Oct-04 22:52
sarath_babu11-Oct-04 22:52 
GeneralRe: char * & char [] Pin
Bob Stanneveld11-Oct-04 23:33
Bob Stanneveld11-Oct-04 23:33 
GeneralRe: char * & char [] Pin
rrrado11-Oct-04 23:41
rrrado11-Oct-04 23:41 
There is a difference, check the disassembly

127:      char aaa[] = "ssss";
004B423D   mov         eax,[string "ssss" (005fd498)]
004B4242   mov         dword ptr [ebp-18h],eax
004B4245   mov         cl,byte ptr [string "ssss"+4 (005fd49c)]
004B424B   mov         byte ptr [ebp-14h],cl
128:      char *bbb = "bbb";
004B424E   mov         dword ptr [ebp-1Ch],offset string "bbb" (005fd46c)
129:
130:      char *cc;
131:
132:      cc = bbb;
004B4255   mov         edx,dword ptr [ebp-1Ch]   ; address of string is loaded from memory
004B4258   mov         dword ptr [ebp-20h],edx
133:      cc = aaa;
004B425B   lea         eax,[ebp-18h]   ; cc just gets address
004B425E   mov         dword ptr [ebp-20h],eax



rrrado
GeneralRe: char * & char [] Pin
rrrado11-Oct-04 23:35
rrrado11-Oct-04 23:35 
Generalnon-modal dialog in dll Pin
Frank Conrad11-Oct-04 21:47
Frank Conrad11-Oct-04 21:47 
GeneralRe: non-modal dialog in dll Pin
Vikrant for VC++11-Oct-04 22:19
Vikrant for VC++11-Oct-04 22:19 
GeneralRe: non-modal dialog in dll Pin
Frank Conrad11-Oct-04 22:32
Frank Conrad11-Oct-04 22:32 
GeneralRe: non-modal dialog in dll Pin
Nathan Holt at EMOM12-Oct-04 5:08
Nathan Holt at EMOM12-Oct-04 5:08 
GeneralRe: non-modal dialog in dll Pin
Phil J Pearson11-Oct-04 22:31
Phil J Pearson11-Oct-04 22:31 
GeneralRe: non-modal dialog in dll Pin
Adi Narayana11-Oct-04 23:28
Adi Narayana11-Oct-04 23:28 
Generalvbcrlf function Pin
vc-programmer-11-Oct-04 21:29
vc-programmer-11-Oct-04 21:29 
GeneralRe: vbcrlf function Pin
Sujan Christo11-Oct-04 23:41
Sujan Christo11-Oct-04 23:41 
GeneralRe: vbcrlf function Pin
BlackDice12-Oct-04 3:07
BlackDice12-Oct-04 3:07 
QuestionHow to compile and run the RTC Client API v1.2 samples Pin
pubududilena11-Oct-04 21:08
pubududilena11-Oct-04 21:08 
GeneralMachine Cycle Pin
Victor Arokiam11-Oct-04 20:20
Victor Arokiam11-Oct-04 20:20 
GeneralRe: Machine Cycle Pin
Jim Crafton12-Oct-04 5:13
Jim Crafton12-Oct-04 5:13 
GeneralRe: Machine Cycle Pin
Anonymous13-Oct-04 18:31
Anonymous13-Oct-04 18:31 
GeneralOnVScroll() vs OnMouseWheel() Pin
Jesper Knudsen11-Oct-04 20:15
Jesper Knudsen11-Oct-04 20:15 
Generalphp upload to file Pin
Spiritofamerica11-Oct-04 19:39
Spiritofamerica11-Oct-04 19:39 
GeneralRead a Text Pin
picasso211-Oct-04 19:19
picasso211-Oct-04 19:19 

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.