123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|569|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> string parsing ?

Wed, 14 Nov 2007, 18:22
spinal
I am trying to load text from a file onto the screen, my first attemp was working fine, character by character, but no I want to check the text word at a time to get wrapping working properly. my code is as follows -



When I run it, it just repeats the first word a few times. My current guess is that I have a bunch of the code the wrong way around, or perhaps its just completely wrong.

Any ideas?

|edit|
Jay got it working a lot better, but it doesn't seem to be getting to the second read, i get a couple of line of text and thats it.



anyone?

-=-=-
Check out my excellent homepage!