Click here to Skip to main content
15,890,995 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorry ... but Grafix wanted ! Pin
Daniel Ferguson9-Feb-01 9:30
Daniel Ferguson9-Feb-01 9:30 
QuestionHow can I set or Move position of an Edit Control Pin
9-Feb-01 1:43
suss9-Feb-01 1:43 
AnswerRe: How can I set or Move position of an Edit Control Pin
Peter Pearson9-Feb-01 3:36
Peter Pearson9-Feb-01 3:36 
GeneralPop3 Pin
8-Feb-01 20:21
suss8-Feb-01 20:21 
GeneralRe: Pop3 Pin
9-Feb-01 3:58
suss9-Feb-01 3:58 
GeneralRe: Pop3 Pin
Rob Caldecott9-Feb-01 4:26
Rob Caldecott9-Feb-01 4:26 
GeneralMFC CString Question.... Pin
8-Feb-01 14:38
suss8-Feb-01 14:38 
GeneralMFC CString Question.... Pin
8-Feb-01 14:35
suss8-Feb-01 14:35 
A starting programmer needs help
I turn here for help. Please help me,

I am using CString because I am coding for Windows CE. I run my code through Visual Studio to use the console to make sure its working. the aim is to try and cut up a string into many pieces.

Example Code:

CString hd ("test");
LPCTSTR h = hd;
CString *lk;
lk = hd;
printf("%s", hd);
printf("%s", (LPCTSTR)hd);
printf("%s", h);
cout << h;
cout << lk;
cout << *lk;

My Problem:
For the printf function the only thing I get is always the first the first character 't';
for the cout, I always get the memory location in all cases, so what I am asking is, CAN SOMEONE TELL ME HOW I CAN PRINT OUT THE FULL STRING....PLEASE!!!!

thank you
lonod

To Code or not to code, that is the question
GeneralRe: MFC CString Question.... Pin
Michael Dunn8-Feb-01 14:57
sitebuilderMichael Dunn8-Feb-01 14:57 
GeneralRe: MFC CString Question.... Pin
efosa8-Feb-01 15:06
efosa8-Feb-01 15:06 
GeneralRe: MFC CString Question.... Pin
Michael Dunn8-Feb-01 15:13
sitebuilderMichael Dunn8-Feb-01 15:13 
GeneralWaitForSingleObject() Question Again!!!! Pin
Richard Cheng8-Feb-01 9:18
Richard Cheng8-Feb-01 9:18 
GeneralRe: WaitForSingleObject() Question Again!!!! Pin
JoeBloggs10-Feb-01 23:37
JoeBloggs10-Feb-01 23:37 
GeneralVisual C++ style build log window Pin
8-Feb-01 9:05
suss8-Feb-01 9:05 
GeneralRe: Visual C++ style build log window Pin
Michael Dunn8-Feb-01 20:08
sitebuilderMichael Dunn8-Feb-01 20:08 
GeneralRe: Visual C++ style build log window Pin
9-Feb-01 13:55
suss9-Feb-01 13:55 
GeneralCString to char array[40] Pin
Johnny Starr8-Feb-01 8:18
Johnny Starr8-Feb-01 8:18 
GeneralRe: CString to char array[40] Pin
Anders Molin8-Feb-01 8:46
professionalAnders Molin8-Feb-01 8:46 
GeneralRe: CString to char array[40] Pin
Michael Dunn8-Feb-01 9:13
sitebuilderMichael Dunn8-Feb-01 9:13 
GeneralRe: CString to char array[40] Pin
Erik Funkenbusch12-Feb-01 13:26
Erik Funkenbusch12-Feb-01 13:26 
GeneralCString to char array[40] Pin
Johnny Starr8-Feb-01 8:16
Johnny Starr8-Feb-01 8:16 
GeneralCString to char array[40] Pin
Johnny Starr8-Feb-01 8:15
Johnny Starr8-Feb-01 8:15 
GeneralCString to char array[40] Pin
Johnny Starr8-Feb-01 8:15
Johnny Starr8-Feb-01 8:15 
GeneralRe: CString to char array[40] Pin
Paul Selormey8-Feb-01 8:49
Paul Selormey8-Feb-01 8:49 
GeneralCStatusBar Text in MFC Application Pin
8-Feb-01 5:25
suss8-Feb-01 5:25 

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.