Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with stack structure in C++(using pointer), plz help !!! Pin
CPallini20-Jan-10 21:32
mveCPallini20-Jan-10 21:32 
QuestionMessage Removed Pin
19-Jan-10 22:40
Mishgun5619-Jan-10 22:40 
AnswerRe: The problem with including headers in C++ Pin
Stuart Dootson19-Jan-10 22:48
professionalStuart Dootson19-Jan-10 22:48 
AnswerRe: The problem with including headers in C++ Pin
Stephen Hewitt19-Jan-10 22:50
Stephen Hewitt19-Jan-10 22:50 
GeneralRe: The problem with including headers in C++ Pin
Mishgun5619-Jan-10 22:56
Mishgun5619-Jan-10 22:56 
QuestionSwitching on and setting baud rate [modified] Pin
CodeyBlank19-Jan-10 21:28
CodeyBlank19-Jan-10 21:28 
AnswerRe: Switching on and setting baud rate Pin
Richard MacCutchan19-Jan-10 22:27
mveRichard MacCutchan19-Jan-10 22:27 
GeneralRe: Switching on and setting baud rate Pin
Garth J Lancaster19-Jan-10 22:30
professionalGarth J Lancaster19-Jan-10 22:30 
GeneralRe: Switching on and setting baud rate Pin
Richard MacCutchan20-Jan-10 0:43
mveRichard MacCutchan20-Jan-10 0:43 
GeneralRe: Switching on and setting baud rate Pin
CPallini20-Jan-10 3:01
mveCPallini20-Jan-10 3:01 
GeneralRe: Switching on and setting baud rate Pin
Richard MacCutchan20-Jan-10 3:30
mveRichard MacCutchan20-Jan-10 3:30 
AnswerRe: Switching on and setting baud rate Pin
Garth J Lancaster19-Jan-10 22:30
professionalGarth J Lancaster19-Jan-10 22:30 
GeneralRe: Switching on and setting baud rate Pin
CodeyBlank19-Jan-10 22:43
CodeyBlank19-Jan-10 22:43 
GeneralRe: Switching on and setting baud rate Pin
Garth J Lancaster19-Jan-10 22:55
professionalGarth J Lancaster19-Jan-10 22:55 
QuestionSplit multi image tiff file using CXImage Pin
Pryabu19-Jan-10 17:30
Pryabu19-Jan-10 17:30 
AnswerRe: Split multi image tiff file using CXImage Pin
Game-point19-Jan-10 21:07
Game-point19-Jan-10 21:07 
GeneralRe: Split multi image tiff file using CXImage Pin
Pryabu20-Jan-10 1:33
Pryabu20-Jan-10 1:33 
GeneralRe: Split multi image tiff file using CXImage Pin
PJ Arends20-Jan-10 5:28
professionalPJ Arends20-Jan-10 5:28 
QuestionDEBUG_NEW [modified] Pin
iceman861619-Jan-10 15:07
iceman861619-Jan-10 15:07 
AnswerRe: DEBUG_NEW Pin
Chris Losinger19-Jan-10 16:59
professionalChris Losinger19-Jan-10 16:59 
GeneralRe: DEBUG_NEW Pin
iceman861620-Jan-10 13:55
iceman861620-Jan-10 13:55 
QuestionProgram Which: Takes numbers from a user, and sum's them. Pin
rbwest8619-Jan-10 13:44
rbwest8619-Jan-10 13:44 
AnswerRe: Program Which: Takes numbers from a user, and sum's them. Pin
loyal ginger19-Jan-10 14:53
loyal ginger19-Jan-10 14:53 
GeneralRe: Program Which: Takes numbers from a user, and sum's them. Pin
rbwest8619-Jan-10 15:46
rbwest8619-Jan-10 15:46 
GeneralRe: Program Which: Takes numbers from a user, and sum's them. Pin
loyal ginger20-Jan-10 15:18
loyal ginger20-Jan-10 15:18 
Even though this program works, you are relying on the variable userinput having an initial non-zero value. The compiler actually does not always guarantee that. To make the program robust, I suggest you take control on the values of variables and not rely on some random factors.

Good luck and happy programming!

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.