>Whenever you mix scanf with another input method (getchar(), >fgetc() or fgets()) you're in for some surprises.
except that in this case i'm only using scanf
>The safe way of getting input is to...
Type: Posts; User: Ican'tC
>Whenever you mix scanf with another input method (getchar(), >fgetc() or fgets()) you're in for some surprises.
except that in this case i'm only using scanf
>The safe way of getting input is to...
My program keeps skipping scanf().
The second time i want to input a value into a variable instead of prompting the user for input it automatically inputs line feed/10.
What am i doing wrong...
I need someone to direct me to a simple but thorough explanation of the time funtions cos I can;t make head nor tail off them.
I want to print the time now and be able to calculate time...
vsriharsha, Thank you.
I just spent more than a week scouring books and the net for an answer to this question and your chunk of code worked perfectly.
:)