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 / Pointers!!!!!! ARGGGHH

Author
Message
Zapleaf
15
Years of Service
User Offline
Joined: 16th Oct 2009
Location:
Posted: 11th Nov 2011 16:32 Edited at: 11th Nov 2011 16:33


So my code is supposed to read the file string and add it to my Tile array in its respective position. The problem is, it wont do this because I have no idea what I am doing

I have tried doing dbReadString, dbReadLong, and neither of them will work. What might I possibly be doing wrong?

Tile[][] is an int.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 11th Nov 2011 21:36


assuming each character in the file will represent an int from 0-255 (byte), this should work, by the way, i think you should reverse the i and o, because you will have x and y swapped

Zapleaf
15
Years of Service
User Offline
Joined: 16th Oct 2009
Location:
Posted: 12th Nov 2011 12:26
Thanks again Hassan :p
vitinho444
14
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 13th Nov 2011 12:39
hassan helps one more time =DDD

you're the man

C++ Medium 3.5/5
VB6 Advanced: 4/5
VB.NET Advanced: 4/5

Login to post a reply

Server time is: 2024-11-19 06:33:02
Your offset time is: 2024-11-19 06:33:02