Can anyone get this code to work?! im missing something or screwing up somewhere, but i cant get rid of a few errors. It can open the file but i don't know if the 2nd and 3rd functions are right.
...
Type: Posts; User: Pavement
Can anyone get this code to work?! im missing something or screwing up somewhere, but i cant get rid of a few errors. It can open the file but i don't know if the 2nd and 3rd functions are right.
...
thanks for the help i think i got it now :)
I can't really make the connection between that example and the one im am faced with. I have a function getPkgs that first gets the number of packages from the first line of the data file. next...
in my program i have a struct called Packages which contains the members weight, length, width and depth. This data is in a file whose first line is the number of packages, and then the lines after...
thanks alot for the help
hey,
I am working on a program in which i have to ask the user for a file name and then check for errors and read data from that file. I'm not sure how to do this. if I cin the file name as a...