Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Cganging Dialog Box Color Pin
Jörgen Sigvardsson1-Oct-05 14:03
Jörgen Sigvardsson1-Oct-05 14:03 
AnswerRe: Cganging Dialog Box Color Pin
ThatsAlok2-Oct-05 18:50
ThatsAlok2-Oct-05 18:50 
GeneralRe: Cganging Dialog Box Color Pin
Anonymous3-Oct-05 0:19
Anonymous3-Oct-05 0:19 
GeneralRe: Cganging Dialog Box Color Pin
progvc3-Oct-05 0:27
progvc3-Oct-05 0:27 
QuestionCString... PLS help Pin
benjnp1-Oct-05 1:23
benjnp1-Oct-05 1:23 
AnswerRe: CString... PLS help Pin
khan++1-Oct-05 1:42
khan++1-Oct-05 1:42 
GeneralRe: CString... PLS help Pin
benjnp1-Oct-05 10:16
benjnp1-Oct-05 10:16 
AnswerRe: CString... PLS help Pin
benjnp1-Oct-05 10:24
benjnp1-Oct-05 10:24 
benjnp wrote:
I created an MFC console project, when declared a CString variable and use its SetAt function, Debug Assertion failed, Why? There's no other function nor task yet in my prog. I can't proceed with my program because of this debug assertion failed error during run-time as it reaches the SetAt line.

I should've used the += sign..... I forgot

here's a sample line of codes
#1
CString strLine;
strLine = "Hello";
cout << strLine << endl;

output
007706BC

#2
CString strLine;
strLine = "Hello";
printf("%s\n", strLine);

output
Hello

Why didn't cout display the "Hello" string, but using printf will display the desired output. What's the difference between cout and printf that made the above discrepancy? Thanx Smile | :)
QuestionInserting varchar value into Oracle DB using ADO Pin
snprani1-Oct-05 0:59
snprani1-Oct-05 0:59 
Questionsafe version of strstr Pin
Chintoo7231-Oct-05 0:43
Chintoo7231-Oct-05 0:43 
AnswerRe: safe version of strstr Pin
Jose Lamas Rios1-Oct-05 13:28
Jose Lamas Rios1-Oct-05 13:28 
GeneralRe: safe version of strstr Pin
Chintoo7231-Oct-05 14:47
Chintoo7231-Oct-05 14:47 
QuestionDialog Based Dll Pin
Balaji Krishna1-Oct-05 0:20
Balaji Krishna1-Oct-05 0:20 
QuestionI need a CopyBitmap() function Pin
RancidCrabtree1-Oct-05 0:16
RancidCrabtree1-Oct-05 0:16 
AnswerRe: I need a CopyBitmap() function Pin
Mircea Puiu1-Oct-05 0:44
Mircea Puiu1-Oct-05 0:44 
AnswerRe: I need a CopyBitmap() function Pin
Gary R. Wheeler1-Oct-05 2:22
Gary R. Wheeler1-Oct-05 2:22 
AnswerHere is my CopyBitmap() function Pin
RancidCrabtree3-Oct-05 12:02
RancidCrabtree3-Oct-05 12:02 
QuestionPacket Sniffing Pin
progvc30-Sep-05 23:14
progvc30-Sep-05 23:14 
GeneralRe: Packet Sniffing Pin
Jörgen Sigvardsson1-Oct-05 14:05
Jörgen Sigvardsson1-Oct-05 14:05 
GeneralRe: Packet Sniffing Pin
progvc2-Oct-05 19:33
progvc2-Oct-05 19:33 
QuestionConnecting to Oracle Database using ADO in vc++ Pin
snprani30-Sep-05 22:46
snprani30-Sep-05 22:46 
AnswerRe: Connecting to Oracle Database using ADO in vc++ Pin
ThatsAlok30-Sep-05 23:21
ThatsAlok30-Sep-05 23:21 
Questionallocating memory in a DLL Pin
hamidreza_buddy30-Sep-05 22:28
hamidreza_buddy30-Sep-05 22:28 
AnswerRe: allocating memory in a DLL Pin
Prakash Nadar30-Sep-05 22:32
Prakash Nadar30-Sep-05 22:32 
GeneralRe: allocating memory in a DLL Pin
hamidreza_buddy30-Sep-05 22:57
hamidreza_buddy30-Sep-05 22:57 

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.