I am looking for information on how to use (create/read) a text file resource. I have tried searching this forum, and our friend google, but to no avail. This information would be a great benifit to me because then I can include the levels.txt file into my .exe and not have to wory about it being changed. The closest thing I can find has to do with strings, but this file is 5 pages. It would be more trouble than it is worth for me to make it into strings.
Thank-you.
Curtis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe, but I'm trying to put it into BGI. Not a API display box. I have got it to work though, using your favourite book, and creating a structure. The prog now runs fine. Converted one of the old games into a Level file converter. Loads of fun. Total file size with 30 levels, and 18 .bmp graphics 127kb gcc 2.95 -s -O
Thanks for the try though Kip. If I didn't have this awesome book, I would have been lost.
Curtis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am looking for information on how to use (create/read) a text file resource. I have tried searching this forum, and our friend google, but to no avail. This information would be a great benifit to me because then I can include the levels.txt file into my .exe and not have to wory about it being changed. The closest thing I can find has to do with strings, but this file is 5 pages. It would be more trouble than it is worth for me to make it into strings.
Thank-you.
Curtis
Hey man,
This is typical code that I use for all the about boxes in most Vertigo applications. Its all in Vertigo syntax, so it should make sense to you =)
Kip
http://www.zero47.com/code/AboutDialogProc.html
Maybe, but I'm trying to put it into BGI. Not a API display box. I have got it to work though, using your favourite book, and creating a structure. The prog now runs fine. Converted one of the old games into a Level file converter. Loads of fun. Total file size with 30 levels, and 18 .bmp graphics 127kb gcc 2.95 -s -O
Thanks for the try though Kip. If I didn't have this awesome book, I would have been lost.
Curtis