J
JrdA
Hi NG
My programs does following:
- ofstream writes fx. "1234#01/26/04#" to a txt-file
Now i have a txt-file containing :
1234#01/26/04#
424#01/26/04#
324234#01/26/04#
I then need ifstream to read the first ints until it reaches the # sign and
then add them togheter.
Can anyone help me with som code to do that?
Thanks
AHR
My programs does following:
- ofstream writes fx. "1234#01/26/04#" to a txt-file
Now i have a txt-file containing :
1234#01/26/04#
424#01/26/04#
324234#01/26/04#
I then need ifstream to read the first ints until it reaches the # sign and
then add them togheter.
Can anyone help me with som code to do that?
Thanks
AHR