Advertisement

Parsing strings..

Started by June 25, 2002 06:21 PM
-1 comments, last by jwblair 22 years, 8 months ago
Hello... I am having trouble parsing a string that I am reading from a textfile. I am using fgets to get the string, and I then try to parse it. However my data structure is not getting the correct info. Does anyone have a simple way to parse strings of different data types from a file other than by doing pointer arithmatic (or something similar). I am using the file to load lables for a globe appilcation that I am developing for work. Thanks! John William Blair
"The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother''s keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee."
http://members.home.com/chucklez/wtc/index.html
Thanks!John William Blair "The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee."
http://members.home.com/chucklez/wtc/index.html

This topic is closed to new replies.

Advertisement