Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / ofstream acting wierd

Author
Message
Avalanche_ Akshay
19
Years of Service
User Offline
Joined: 27th Jun 2005
Location:
Posted: 17th Jul 2009 06:06
I know that the usual c++ commands i use and like to use where being a bit weird until i changed the mtd to mt. My Streams dont seem to work at all though. i am trying to write a level generator and i cant save any levels i write because of my problem. (There is a way of doing it using DB but it feels a little too unprofessional, especially since the data wont come out the way i want it to). My code compiles and runs. When it gets to:

it dies.
and this even happens when i changed the code to:

is there a solution to this??
here is the full code just in case you need it:

or here is just the save code:
Avalanche_ Akshay
19
Years of Service
User Offline
Joined: 27th Jun 2005
Location:
Posted: 20th Jul 2009 06:35
Figured out my problem. ofstream was calling a string that did not exist anymore.

Login to post a reply

Server time is: 2024-10-01 08:21:07
Your offset time is: 2024-10-01 08:21:07