Click here to Skip to main content
15,909,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTesting if a string is empty Pin
Programm3r7-Dec-06 22:16
Programm3r7-Dec-06 22:16 
AnswerRe: Testing if a string is empty Pin
prasad_som7-Dec-06 22:25
prasad_som7-Dec-06 22:25 
AnswerRe: Testing if a string is empty Pin
joelgarabedian7-Dec-06 22:26
joelgarabedian7-Dec-06 22:26 
AnswerRe: Testing if a string is empty Pin
CPallini7-Dec-06 22:30
mveCPallini7-Dec-06 22:30 
AnswerRe: Testing if a string is empty Pin
Christian Graus7-Dec-06 22:41
protectorChristian Graus7-Dec-06 22:41 
GeneralThank you all very much :) Pin
Programm3r7-Dec-06 22:43
Programm3r7-Dec-06 22:43 
GeneralRe: Thank you all very much :) Pin
kakan7-Dec-06 23:32
professionalkakan7-Dec-06 23:32 
GeneralI agree completely. Pin
CPallini8-Dec-06 3:13
mveCPallini8-Dec-06 3:13 
kakan wrote:
n debug, the allocated buffer becomes filled with null-bytes.
In release-build, it isn't. It's filled with junk characters (whatever is on the stack).


and this is the source of very weird bugs.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

Questionincluding C++ header file in .C file Pin
Shailesh Ha7-Dec-06 21:48
Shailesh Ha7-Dec-06 21:48 
AnswerRe: including C++ header file in .C file Pin
prasad_som7-Dec-06 22:30
prasad_som7-Dec-06 22:30 
AnswerRe: including C++ header file in .C file Pin
Christian Graus7-Dec-06 22:44
protectorChristian Graus7-Dec-06 22:44 
AnswerRe: including C++ header file in .C file Pin
CPallini7-Dec-06 22:57
mveCPallini7-Dec-06 22:57 
AnswerRe: including C++ header file in .C file Pin
vijay_aroli8-Dec-06 2:39
vijay_aroli8-Dec-06 2:39 
AnswerRe: including C++ header file in .C file Pin
Zac Howland8-Dec-06 5:01
Zac Howland8-Dec-06 5:01 
QuestionWhy is my C program crashing? Pin
<color>Aljechin 7-Dec-06 21:26
<color>Aljechin 7-Dec-06 21:26 
AnswerRe: Why is my C program crashing? Pin
Naveen7-Dec-06 21:30
Naveen7-Dec-06 21:30 
GeneralRe: Why is my C program crashing? Pin
<color>Aljechin 7-Dec-06 21:33
<color>Aljechin 7-Dec-06 21:33 
GeneralRe: Why is my C program crashing? Pin
kakan7-Dec-06 21:39
professionalkakan7-Dec-06 21:39 
GeneralRe: Why is my C program crashing? Pin
<color>Aljechin 7-Dec-06 21:42
<color>Aljechin 7-Dec-06 21:42 
GeneralRe: Why is my C program crashing? Pin
kakan7-Dec-06 21:48
professionalkakan7-Dec-06 21:48 
GeneralRe: Why is my C program crashing? Pin
<color>Aljechin 7-Dec-06 21:56
<color>Aljechin 7-Dec-06 21:56 
GeneralRe: Why is my C program crashing? Pin
kakan7-Dec-06 22:15
professionalkakan7-Dec-06 22:15 
GeneralRe: Why is my C program crashing? Pin
CodeMak7-Dec-06 22:22
CodeMak7-Dec-06 22:22 
GeneralRe: Why is my C program crashing? Pin
Christian Graus7-Dec-06 22:43
protectorChristian Graus7-Dec-06 22:43 
GeneralRe: Why is my C program crashing? Pin
CodeMak7-Dec-06 23:28
CodeMak7-Dec-06 23:28 

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.