I need to design a program in visual c++ that reads in from a file and prints out what it reads in. the way the data is set up on the file is
product code (space) quantity (space) item description.
The problem is sometimes the item description is 2 words and sometimes it is one..
ex. coffee table as opposed to chair. . How can i set that last variable to take in both words? i think this is the reason that i keep getting the old infinite Loop
thanks
K
product code (space) quantity (space) item description.
The problem is sometimes the item description is 2 words and sometimes it is one..
ex. coffee table as opposed to chair. . How can i set that last variable to take in both words? i think this is the reason that i keep getting the old infinite Loop
thanks
K