Click here to Skip to main content
15,902,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
The logic does not work because it is subtracting the stop time from the start time. It should subtract the start time from the stop time to get the difference. For example a start time of 11:33:47 and a stop time of 15:21:10 gives a difference of -4:12:37. The correct answer is 3:47:23. You can work through the logic by using some random times and working through each line,changing values as necessary and doing the subtractions.
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 
AnswerRe: non-user interface event such as a DDE, OLE Pin
Victor Nijegorodov31-Dec-17 4:09
Victor Nijegorodov31-Dec-17 4:09 
GeneralRe: non-user interface event such as a DDE, OLE Pin
_Flaviu31-Dec-17 9:59
_Flaviu31-Dec-17 9:59 
QuestionHow to Read/Write schema file .xsd in c++ Pin
brraj28-Dec-17 19:15
brraj28-Dec-17 19:15 
AnswerRe: How to Read/Write schema file .xsd in c++ Pin
Richard MacCutchan28-Dec-17 21:24
mveRichard MacCutchan28-Dec-17 21:24 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
brraj1-Jan-18 17:49
brraj1-Jan-18 17:49 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
Richard MacCutchan1-Jan-18 22:57
mveRichard MacCutchan1-Jan-18 22:57 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
brraj1-Jan-18 23:01
brraj1-Jan-18 23:01 
AnswerRe: How to Read/Write schema file .xsd in c++ Pin
jschell1-Jan-18 6:30
jschell1-Jan-18 6:30 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
brraj1-Jan-18 17:56
brraj1-Jan-18 17:56 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
jschell3-Jan-18 13:08
jschell3-Jan-18 13:08 
QuestionStruct type and memory Pin
Anonygeeker27-Dec-17 18:17
Anonygeeker27-Dec-17 18:17 
AnswerRe: Struct type and memory Pin
Richard MacCutchan27-Dec-17 21:47
mveRichard MacCutchan27-Dec-17 21:47 
QuestionRe: Struct type and memory Pin
David Crow28-Dec-17 2:52
David Crow28-Dec-17 2:52 
AnswerRe: Struct type and memory Pin
Richard MacCutchan28-Dec-17 3:38
mveRichard MacCutchan28-Dec-17 3:38 
QuestionTo write a c program to maintain a log of football match b/w 2 teams and then compare the results of the log entered by user and announce the winner. Pin
Tarun Jha26-Dec-17 20:09
Tarun Jha26-Dec-17 20:09 
AnswerRe: To write a c program to maintain a log of football match b/w 2 teams and then compare the results of the log entered by user and announce the winner. Pin
Victor Nijegorodov26-Dec-17 21:57
Victor Nijegorodov26-Dec-17 21:57 

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.