Hello everyone,
first post, very very very noob, and yes its a uni homework thing.
My question is how does one read from a given text file strcutured like this:
Name, ID, Cost, productNumber, tax, TelephoneNumber
And then use read in data (which i put into a char array) to convert to string, int or anyother data type?
The deal is i need to read from a text file , do some calcualtions, then assign the values from the file to a pre-constrcuted class that has ints, floats, and chars.
Please help, also i will post my code this afternoon when i get to uni.
Thanks alot everyone (if you can help)