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

C / C++ / MFC

 
AnswerRe: smtp server authentication Pin
sunit526-Dec-06 1:01
sunit526-Dec-06 1:01 
Questiondelete pointer Pin
samira forooghi26-Dec-06 0:06
samira forooghi26-Dec-06 0:06 
AnswerRe: delete pointer Pin
John R. Shaw26-Dec-06 0:36
John R. Shaw26-Dec-06 0:36 
GeneralRe: delete pointer Pin
ChandraRam26-Dec-06 1:14
ChandraRam26-Dec-06 1:14 
GeneralRe: delete pointer Pin
John R. Shaw26-Dec-06 1:29
John R. Shaw26-Dec-06 1:29 
GeneralRe: delete pointer Pin
ChandraRam26-Dec-06 1:31
ChandraRam26-Dec-06 1:31 
GeneralRe: delete pointer Pin
John R. Shaw26-Dec-06 1:52
John R. Shaw26-Dec-06 1:52 
AnswerRe: delete pointer Pin
Mark Salsbery26-Dec-06 6:08
Mark Salsbery26-Dec-06 6:08 
So was this a joke? If not then

this code is bad:

char *ch=new char[100];
strcat(ch,achData);

You haven't initialized ch before using strcat() on it.

You are in an endless for loop so your "if(achData)//This code will not run never" will
never get called.




AnswerRe: delete pointer Pin
Mark Salsbery26-Dec-06 6:10
Mark Salsbery26-Dec-06 6:10 
AnswerRe: delete pointer Pin
Hamid_RT26-Dec-06 6:27
Hamid_RT26-Dec-06 6:27 
Questionaccessing a part of a char array Pin
Johpoke25-Dec-06 23:37
Johpoke25-Dec-06 23:37 
AnswerRe: accessing a part of a char array Pin
Johan Pretorius25-Dec-06 23:52
Johan Pretorius25-Dec-06 23:52 
AnswerRe: accessing a part of a char array Pin
sunit525-Dec-06 23:54
sunit525-Dec-06 23:54 
GeneralRe: accessing a part of a char array Pin
sunit526-Dec-06 0:01
sunit526-Dec-06 0:01 
AnswerRe: accessing a part of a char array Pin
prasad_som25-Dec-06 23:54
prasad_som25-Dec-06 23:54 
AnswerRe: accessing a part of a char array Pin
S Douglas26-Dec-06 0:58
professionalS Douglas26-Dec-06 0:58 
AnswerRe: accessing a part of a char array (resolved) Pin
Johpoke26-Dec-06 2:16
Johpoke26-Dec-06 2:16 
QuestionHow to Disable sound of a particular application Pin
jk chan25-Dec-06 23:09
jk chan25-Dec-06 23:09 
Questionmanaging process Pin
dvsr25-Dec-06 21:10
dvsr25-Dec-06 21:10 
AnswerRe: managing process Pin
Michael Dunn25-Dec-06 21:44
sitebuilderMichael Dunn25-Dec-06 21:44 
AnswerRe: managing process Pin
sunit525-Dec-06 21:48
sunit525-Dec-06 21:48 
AnswerRe: managing process Pin
prasad_som25-Dec-06 21:59
prasad_som25-Dec-06 21:59 
AnswerRe: managing process Pin
kasturi_haribabu25-Dec-06 22:28
kasturi_haribabu25-Dec-06 22:28 
AnswerRe: managing process Pin
Cristian Amarie25-Dec-06 22:29
Cristian Amarie25-Dec-06 22:29 
Questionneed math suggestions Pin
includeh1025-Dec-06 20:38
includeh1025-Dec-06 20:38 

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.