Hi, I'm kinda new to C++ programming. Anyways my problem is that I want to read in a bunch of information from a text doc, but its converted from MS excel and some fields are left blank and I want to keep those fields blank when I read it in to a variable...
my input is something like this
1 location 3
1 a hi 4
I need to assign the information in each field to a different variable so I can do something with them later. So using getline() doesn't really work. Does anyone have any ideas on how to do this?
hehe, thx. I didn't know that C++ could read anything besides text docs!! hehe, thx