I'm writing a simple rpg game. I'm trying to load monster and item data from a file, and visual c++ isn't liking me too much. Below is my code and the errors I'm receiving. I'm using VC++ 5.0 and it's a console app.
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/fileloader.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Also, what is the easiest way to read in data? I was gonna format my file something like...:
Orc: 30 32 120 30 60
... and just read up to the colon for the name, then grab the ints for the other stats. Is there a better way?