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

C / C++ / MFC

 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Tarun Jha5-Jan-18 0:48
Tarun Jha5-Jan-18 0:48 
GeneralRe: How to return a string from a user defined function to main function ? Pin
leon de boer4-Jan-18 14:32
leon de boer4-Jan-18 14:32 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Tarun Jha5-Jan-18 0:46
Tarun Jha5-Jan-18 0:46 
QuestionTo make a function in C which does not except "\n" & EOF as input. Pin
Tarun Jha2-Jan-18 2:35
Tarun Jha2-Jan-18 2:35 
AnswerRe: To make a function in C which does not except "\n" & EOF as input. Pin
David Crow2-Jan-18 3:05
David Crow2-Jan-18 3:05 
GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
Tarun Jha3-Jan-18 3:48
Tarun Jha3-Jan-18 3:48 
AnswerRe: To make a function in C which does not except "\n" & EOF as input. Pin
Richard MacCutchan2-Jan-18 3:36
mveRichard MacCutchan2-Jan-18 3:36 
AnswerRe: To make a function in C which does not except "\n" & EOF as input. Pin
leon de boer2-Jan-18 13:38
leon de boer2-Jan-18 13:38 
GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
Tarun Jha3-Jan-18 3:40
Tarun Jha3-Jan-18 3:40 
GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
David Crow3-Jan-18 3:57
David Crow3-Jan-18 3:57 
GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
Tarun Jha3-Jan-18 4:59
Tarun Jha3-Jan-18 4:59 
QuestionRe: To make a function in C which does not except "\n" & EOF as input. Pin
David Crow3-Jan-18 5:02
David Crow3-Jan-18 5:02 
AnswerRe: To make a function in C which does not except "\n" & EOF as input. Pin
Tarun Jha3-Jan-18 5:45
Tarun Jha3-Jan-18 5:45 
QuestionRe: To make a function in C which does not except "\n" & EOF as input. Pin
David Crow3-Jan-18 5:48
David Crow3-Jan-18 5:48 
AnswerRe: To make a function in C which does not except "\n" & EOF as input. Pin
Tarun Jha3-Jan-18 5:54
Tarun Jha3-Jan-18 5:54 
GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
David Crow3-Jan-18 6:02
David Crow3-Jan-18 6:02 
Tarun Jha wrote:
i corrected that it still doesn't work.
My question was not meant to fix your logic error. It was a compiler error.

As it stands now, if you were somehow able to detect an invalid entry, a recursive call to check() is made but it would not return anything to the original caller. You'll also need to address this issue.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
leon de boer3-Jan-18 14:45
leon de boer3-Jan-18 14:45 
GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
Richard MacCutchan3-Jan-18 21:54
mveRichard MacCutchan3-Jan-18 21:54 
QuestionC Program to Calculate Difference Between Two Time Periods . Pin
Tarun Jha31-Dec-17 12:27
Tarun Jha31-Dec-17 12:27 
AnswerRe: C Program to Calculate Difference Between Two Time Periods . Pin
Richard MacCutchan31-Dec-17 22:42
mveRichard MacCutchan31-Dec-17 22:42 
AnswerRe: C Program to Calculate Difference Between Two Time Periods . Pin
jschell1-Jan-18 6:22
jschell1-Jan-18 6:22 
GeneralRe: C Program to Calculate Difference Between Two Time Periods . Pin
Richard MacCutchan1-Jan-18 7:36
mveRichard MacCutchan1-Jan-18 7:36 
GeneralRe: C Program to Calculate Difference Between Two Time Periods . Pin
jschell3-Jan-18 13:08
jschell3-Jan-18 13:08 
GeneralRe: C Program to Calculate Difference Between Two Time Periods . Pin
Tarun Jha1-Jan-18 13:42
Tarun Jha1-Jan-18 13:42 
Questionnon-user interface event such as a DDE, OLE Pin
_Flaviu31-Dec-17 3:25
_Flaviu31-Dec-17 3:25 

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.