R
ritchie
Hello,
Just wondering if anyone could help me with a basic C string-parsing
question.
I have an Integer date ie: YYYYMMDD.
I can convert it into a string but I want to break it down to:
Int DD, int MM, int YYYY.
Is this possible?
Also, I am using the getch function with in a windows app.
This is just for a help function where a screen of info is displayed
and then "press any key to continue...".
It works fine but, I keep getting a warning of "'getch' undefined;
assuming extern returning int".
I compiled the same program on Solaris and got no warning for this.
Should I be including another library for this?
Thanks in advance,
Ritchie
Just wondering if anyone could help me with a basic C string-parsing
question.
I have an Integer date ie: YYYYMMDD.
I can convert it into a string but I want to break it down to:
Int DD, int MM, int YYYY.
Is this possible?
Also, I am using the getch function with in a windows app.
This is just for a help function where a screen of info is displayed
and then "press any key to continue...".
It works fine but, I keep getting a warning of "'getch' undefined;
assuming extern returning int".
I compiled the same program on Solaris and got no warning for this.
Should I be including another library for this?
Thanks in advance,
Ritchie