Forum: C++ Oct 29th, 2007 |
| Replies: 8 Views: 1,069 Thank you so much for your time and the informative post.
So I did not use getline() completely. I did some research online and thought that using substrings would be better. This is what my... |
Forum: C++ Oct 28th, 2007 |
| Replies: 8 Views: 1,069 So now I made my code look like:
int main(){
string line;
ifstream myfile ("hw2.dat.txt");
if (myfile.is_open())
{
/*while(! myfile.eof()) |
Forum: C++ Oct 28th, 2007 |
| Replies: 8 Views: 1,069 oh sorry about not surrounding my code with the tags, i will do it next time.
I used the eof because that is what cplusplus.com told me to do haha, i dont know anything about a bug.
ive never... |
Forum: C++ Oct 28th, 2007 |
| Replies: 8 Views: 1,069 I am very new to C++ and am taking a beginners course in college. We have a project due this coming tues. and I am stuck, I was wondering if you could please help me.
Background on proj:
I am... |