C++ Programming
11-29-2009, 01:26 AM
Hi,
i need to read a text file n the data are space separated.
i tried getline(stream,string,' ') with a space as a delimiter but it prompt a run-time error
how do i go about doing this?
i need to read a text file n the data are space separated.
i tried getline(stream,string,' ') with a space as a delimiter but it prompt a run-time error
how do i go about doing this?