Hi,
I am trying to make a program that reads a txt file and sets the information into a linked list. It is hard for me to explain it, so i will give an example:
The txt file:
Master Rune of Snorri Spangelhelm-------------------------------75 pts
Any blows struck by a weapon engraved with this
rune will always hit. No roll ot his necessary.
Master Rune of Skalf Blackhammer--------------------------------75 pts
Any weapon Bearing this rune will automatically
wound if it hits. No roll to wound required.
Use characters strength for hte save modifier.
Mater Rune of Alaric the Mad--------------------------------------50 pts
This rune cancels an opponents armour saving throw.
When wounded by this weapon, the target is not
allowed an armour saving throw of any kind.
End of txt file
I cant get it to read the name of the rune, point cost of the rune, and the discription. I am trying to either get it into either an array or a linked list. can you help... any ideas would helo