Stuck in the mud, and needing a push
Hey all,
I'm afraind I've gone a little over my head with this program I'm working on, and I need some serious educating.
I have a text file with a shitload of phrases, one per line.
I need to count how many lines there are in the list, and I need to copy the list into an array. Everything I've tried crashes the program, or worse, my whole computer. I can do one task, or I can do the other, but when I try to put them together, KABOOM! suddenly my Visual C++ program won't recognize cout commands, and won't let me type, and if my computer is still running, I have to shut it down anyway just to get back to work!
I'm afraind I've gone a little over my head with this program I'm working on, and I need some serious educating.
I have a text file with a shitload of phrases, one per line.
I need to count how many lines there are in the list, and I need to copy the list into an array. Everything I've tried crashes the program, or worse, my whole computer. I can do one task, or I can do the other, but when I try to put them together, KABOOM! suddenly my Visual C++ program won't recognize cout commands, and won't let me type, and if my computer is still running, I have to shut it down anyway just to get back to work!
