| View previous topic :: View next topic |
| Author |
Message |
yoonkwun2 How do I cheat?
Reputation: 0
Joined: 17 Mar 2007 Posts: 6
|
Posted: Fri May 11, 2007 8:20 pm Post subject: Pointers Always Exist? |
|
|
Hello,
I have one short question that I did not find in any of the threads in this board.
Do pointers ALWAYS exist in all games? Or are they only created if the programmers programs it to?
Thanks in advance
|
|
| Back to top |
|
 |
setekh Cheater
Reputation: 0
Joined: 16 Feb 2006 Posts: 43
|
Posted: Sat May 12, 2007 1:03 pm Post subject: |
|
|
You can do a game not using pointers - like ... hangman haha ... And even then you will be using some memory so even if you are not using pointers to access it, the compiler itself will make some when addressing it... So pointers do always exist - it's another matter that you can not always find them. In newer games where we have structures of things / objects /, those are all just parts of the memory that we store those things and the pointers / like the name suggest / just point to that memory part ... So it's very easy to understand, so actually even in a "Hello world" piece of code there are pointers, even if the programmer does not use pointers to achieve the goal of the program ...You know that string is somewhere in the memory too... When you db 'something' this something occupies some memory and we need that address so we can use it , so we need a pointer to that memory - we'll more or less ... I know the example is a stupid one , but still ...
|
|
| Back to top |
|
 |
yoonkwun2 How do I cheat?
Reputation: 0
Joined: 17 Mar 2007 Posts: 6
|
Posted: Sat May 12, 2007 2:26 pm Post subject: |
|
|
Ohh. Okay thanks lol
|
|
| Back to top |
|
 |
|