15,745,336 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: To make a function in C which does not except "\n" & EOF as input. David Crow3-Jan-18 5:48 David Crow 3-Jan-18 5:48
 Re: To make a function in C which does not except "\n" & EOF as input. Tarun Jha3-Jan-18 5:54 Tarun Jha 3-Jan-18 5:54
 Re: To make a function in C which does not except "\n" & EOF as input. David Crow3-Jan-18 6:02 David Crow 3-Jan-18 6:02
 Re: To make a function in C which does not except "\n" & EOF as input. leon de boer3-Jan-18 14:45 leon de boer 3-Jan-18 14:45
 Re: To make a function in C which does not except "\n" & EOF as input. Richard MacCutchan3-Jan-18 21:54 Richard MacCutchan 3-Jan-18 21:54
 C Program to Calculate Difference Between Two Time Periods . Tarun Jha31-Dec-17 12:27 Tarun Jha 31-Dec-17 12:27
 Re: C Program to Calculate Difference Between Two Time Periods . Richard MacCutchan31-Dec-17 22:42 Richard MacCutchan 31-Dec-17 22:42
 Re: C Program to Calculate Difference Between Two Time Periods . jschell1-Jan-18 6:22 jschell 1-Jan-18 6:22
 It solves the following equation for X. {stop time} + {X} = {start time} If you walk through examples by hand you will see that the code appears to solve that equation correctly. However like the other response I too find it counter intuitive. As noted in the other response the expected difference would be to subtract start from stop. This solution ends up with negative values. It also treats a time period on a fixed clock - one that does not cross midnight. Which is nonsensical in human terms.
 Re: C Program to Calculate Difference Between Two Time Periods . Richard MacCutchan1-Jan-18 7:36 Richard MacCutchan 1-Jan-18 7:36
 Re: C Program to Calculate Difference Between Two Time Periods . jschell3-Jan-18 13:08 jschell 3-Jan-18 13:08
 Re: C Program to Calculate Difference Between Two Time Periods . Tarun Jha1-Jan-18 13:42 Tarun Jha 1-Jan-18 13:42
 non-user interface event such as a DDE, OLE _Flaviu31-Dec-17 3:25 _Flaviu 31-Dec-17 3:25
 Re: non-user interface event such as a DDE, OLE Victor Nijegorodov31-Dec-17 4:09 Victor Nijegorodov 31-Dec-17 4:09
 Re: non-user interface event such as a DDE, OLE _Flaviu31-Dec-17 9:59 _Flaviu 31-Dec-17 9:59
 How to Read/Write schema file .xsd in c++ brraj28-Dec-17 19:15 brraj 28-Dec-17 19:15
 Re: How to Read/Write schema file .xsd in c++ Richard MacCutchan28-Dec-17 21:24 Richard MacCutchan 28-Dec-17 21:24
 Re: How to Read/Write schema file .xsd in c++ brraj1-Jan-18 17:49 brraj 1-Jan-18 17:49
 Re: How to Read/Write schema file .xsd in c++ Richard MacCutchan1-Jan-18 22:57 Richard MacCutchan 1-Jan-18 22:57
 Re: How to Read/Write schema file .xsd in c++ brraj1-Jan-18 23:01 brraj 1-Jan-18 23:01
 Re: How to Read/Write schema file .xsd in c++ jschell1-Jan-18 6:30 jschell 1-Jan-18 6:30
 Re: How to Read/Write schema file .xsd in c++ brraj1-Jan-18 17:56 brraj 1-Jan-18 17:56
 Re: How to Read/Write schema file .xsd in c++ jschell3-Jan-18 13:08 jschell 3-Jan-18 13:08
 Struct type and memory Anonygeeker27-Dec-17 18:17 Anonygeeker 27-Dec-17 18:17
 Re: Struct type and memory Richard MacCutchan27-Dec-17 21:47 Richard MacCutchan 27-Dec-17 21:47
 Re: Struct type and memory David Crow28-Dec-17 2:52 David Crow 28-Dec-17 2:52
 Last Visit: 31-Dec-99 18:00     Last Update: 27-Sep-23 18:06 Refresh ᐊ Prev1...285286287288289290291292293294 Next ᐅ