Hi! I'm a newbie in C++ and encountered myself with a problem:
how to transfer data from a text file (containing data in "yyyy.mm.dd" and "09:00" format) into a two dimensional array ?
What I want:to convert
2003.12.20 into 20031220 and 10:15 or 09:00 or 00:00 convert into 1015 900 and 0 respectively.
I almost forgot to mention: the output should be in "int" format, not "char".
I hope it won't be hard for you, thanks beforehand.
Edited 3 Years Ago by Alxprog