Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionprogrammer Pin
Timothy Hosey27-Sep-10 10:15
Timothy Hosey27-Sep-10 10:15 
AnswerRe: programmer Pin
Eugen Podsypalnikov27-Sep-10 11:13
Eugen Podsypalnikov27-Sep-10 11:13 
GeneralRe: programmer Pin
Timothy Hosey27-Sep-10 11:21
Timothy Hosey27-Sep-10 11:21 
GeneralRe: programmer Pin
Eugen Podsypalnikov27-Sep-10 11:42
Eugen Podsypalnikov27-Sep-10 11:42 
GeneralRe: programmer Pin
Alan Balkany28-Sep-10 4:16
Alan Balkany28-Sep-10 4:16 
AnswerRe: programmer Pin
jeron127-Sep-10 11:33
jeron127-Sep-10 11:33 
Question"return 0" in user defined function Pin
AmbiguousName27-Sep-10 8:36
AmbiguousName27-Sep-10 8:36 
AnswerRe: "return 0" in user defined function Pin
Phil J Pearson27-Sep-10 9:00
Phil J Pearson27-Sep-10 9:00 
The return statement simply specifies the value that the function will return; it says nothing about the meaning of that value.
Sometimes a return value of 0 means that a function was successful, sometimes a return value of 1 means success. Usually the return value has a meaning entirely different from success or failure. The meaning is determined by the programmer - the compiler doesn't know or care.
Phil



The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.

AnswerRe: "return 0" in user defined function Pin
pjdriverdude27-Sep-10 9:02
pjdriverdude27-Sep-10 9:02 
AnswerRe: "return 0" in user defined function Pin
Maximilien27-Sep-10 9:08
Maximilien27-Sep-10 9:08 
Questionchar data type problem Pin
pjdriverdude27-Sep-10 7:20
pjdriverdude27-Sep-10 7:20 
AnswerRe: char data type problem Pin
Luc Pattyn27-Sep-10 7:53
sitebuilderLuc Pattyn27-Sep-10 7:53 
QuestionRe: char data type problem Pin
David Crow27-Sep-10 8:30
David Crow27-Sep-10 8:30 
AnswerRe: char data type problem Pin
pjdriverdude27-Sep-10 8:55
pjdriverdude27-Sep-10 8:55 
QuestionRe: char data type problem Pin
David Crow27-Sep-10 9:00
David Crow27-Sep-10 9:00 
AnswerRe: char data type problem Pin
pjdriverdude27-Sep-10 9:04
pjdriverdude27-Sep-10 9:04 
QuestionRe: char data type problem Pin
David Crow27-Sep-10 9:05
David Crow27-Sep-10 9:05 
AnswerRe: char data type problem Pin
pjdriverdude27-Sep-10 9:33
pjdriverdude27-Sep-10 9:33 
GeneralRe: char data type problem Pin
David Crow27-Sep-10 9:35
David Crow27-Sep-10 9:35 
AnswerRe: char data type problem Pin
Aescleal27-Sep-10 8:33
Aescleal27-Sep-10 8:33 
GeneralRe: char data type problem Pin
pjdriverdude27-Sep-10 8:57
pjdriverdude27-Sep-10 8:57 
GeneralRe: char data type problem Pin
Luc Pattyn27-Sep-10 10:19
sitebuilderLuc Pattyn27-Sep-10 10:19 
AnswerRe: char data type problem Pin
Stefan_Lang29-Sep-10 6:51
Stefan_Lang29-Sep-10 6:51 
GeneralRe: char data type problem Pin
pjdriverdude1-Oct-10 5:31
pjdriverdude1-Oct-10 5:31 
GeneralRe: char data type problem Pin
Stefan_Lang3-Oct-10 22:50
Stefan_Lang3-Oct-10 22:50 

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.