Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What's the function of Pointer and why we using that?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
blazterzt404
Newbie cheater
Reputation: 0

Joined: 11 Apr 2016
Posts: 13

PostPosted: Fri Aug 12, 2016 3:11 am    Post subject: What's the function of Pointer and why we using that? Reply with quote

oke i really newbie and dont have good education about programing, and lack of knowledge about that...

so i wanna asking about What's the function of Pointer and why we using that?

really it's just same like the address we searching?

I really thank you if you answer it,
your answer's really help me, to increase my knowlege about cheating game.

_________________
- Nobody Perfect.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Fri Aug 12, 2016 3:16 am    Post subject: Reply with quote

http://www.cplusplus.com/doc/tutorial/pointers/

Pointers are the addresses that contain the address we searching.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Fri Aug 12, 2016 4:18 am    Post subject: Reply with quote

A pointer is just the address of another location in your computer memory. The pointer itself is also a few bytes stored at some location in memory.

To understand why we use pointers in hacking games, you should know about dynamic and static memory allocation. If your computer memory is your workspace table, static memory allocation would be akin to drawing out fixed areas on the table where you place your work e.g. papers, notes, categorically. Math can only be placed in the math area, science in the science area. Everytime you sit down to work, they are always in the same location. However, this is problematic as sometimes you have more workload in certain subjects yet the area allocated is too small to hold all your stuff, or vice versa too little workload and inefficient use of space. You could always buy a larger table and draw out larger areas but that is cost and space inefficient. Dynamic memory allocation allows you to only draw out a single space and each time you sit down to work you can redraw boundaries to suit your work, the locations and sizes of these new areas are stored in the single fixed space you drew which you would refer to to navigate your table. The locations are what we would call pointers.

So as you can see the pointers can point to different locations in computer memory everytime you startup an application, whereas if you used a static address for hacking, it may not refer to the correct location in your memory even though it was right previously.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites