Hello,
I have a program with the following variable:
char dateCode[13];
and the this type of data is held by the variable -> 2011006+0000
Now if i want to print only 2011006, and ignore the + and everything after, is there a way to do that in c++? Would i need to read the data in as a different variable type?
Thanks in advance!