Thread: pointers

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    VvITylerIvV's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    The streets
    Posts
    668
    Reputation
    5
    Thanks
    61
    My Mood
    In Love

    pointers

    what good are they? How can they help me...
    Favourite quotes:

    Code:
    I don't need easy, I just need possible. ~ Me 
    
    There are three birds on a fence. Two decide to fly away, how many are left? Three, just because you decide to do something doesn't mean you've done it. ~ Don't know who said this
    
    Do not go where the path may lead, go instead where there is no path and leave a trail. ~ Ralph Waldo Emerson
    Quote Originally Posted by VirtualSia View Post
    You both have a very weird and awkward view on Computer science.
    Computer science is about computing, which is programming.
    Definition of computing: The use or operation of computers.
    Turning on my computer = computing = programming
    LAWLFAIL

  2. #2
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    They are used to point. |:

  3. #3
    VvITylerIvV's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    The streets
    Posts
    668
    Reputation
    5
    Thanks
    61
    My Mood
    In Love
    Quote Originally Posted by Void View Post
    They are used to point. |:
    Well yeah, but how can they be beneficial...
    Favourite quotes:

    Code:
    I don't need easy, I just need possible. ~ Me 
    
    There are three birds on a fence. Two decide to fly away, how many are left? Three, just because you decide to do something doesn't mean you've done it. ~ Don't know who said this
    
    Do not go where the path may lead, go instead where there is no path and leave a trail. ~ Ralph Waldo Emerson
    Quote Originally Posted by VirtualSia View Post
    You both have a very weird and awkward view on Computer science.
    Computer science is about computing, which is programming.
    Definition of computing: The use or operation of computers.
    Turning on my computer = computing = programming
    LAWLFAIL

  4. #4
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Oh, sorry, it's 3:30 AM.. I can't think straight right now.

  5. #5
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    They are good for indirectly accessing things

  6. #6
    VvITylerIvV's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    The streets
    Posts
    668
    Reputation
    5
    Thanks
    61
    My Mood
    In Love
    Quote Originally Posted by Void View Post
    Oh, sorry, it's 3:30 AM.. I can't think straight right now.
    I know what you mean... Earlier in the day I'm nice... then at night I can be a bit of a b****

    Quote Originally Posted by Koreans View Post
    They are good for indirectly accessing things
    which would be helpful how?
    Favourite quotes:

    Code:
    I don't need easy, I just need possible. ~ Me 
    
    There are three birds on a fence. Two decide to fly away, how many are left? Three, just because you decide to do something doesn't mean you've done it. ~ Don't know who said this
    
    Do not go where the path may lead, go instead where there is no path and leave a trail. ~ Ralph Waldo Emerson
    Quote Originally Posted by VirtualSia View Post
    You both have a very weird and awkward view on Computer science.
    Computer science is about computing, which is programming.
    Definition of computing: The use or operation of computers.
    Turning on my computer = computing = programming
    LAWLFAIL

  7. #7
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by VvITylerIvV View Post
    I know what you mean... Earlier in the day I'm nice... then at night I can be a bit of a b****


    which would be helpful how?
    They are just beneficial. Programming pretty much needs pointers. Just read more on it because i dont want to explain

  8. #8
    VvITylerIvV's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    The streets
    Posts
    668
    Reputation
    5
    Thanks
    61
    My Mood
    In Love
    Quote Originally Posted by Koreans View Post


    They are just beneficial. Programming pretty much needs pointers. Just read more on it because i dont want to explain
    Well then don't explain, I've re-read the entire pointers section multiple times... I can't see how they would benefit me. I'll wait for somebody else to explain it to me. It's not that important at the moment so I don't really care. But thats why I asked it now, not when it would be important see I can halfthink while I'm halfasleep.
    Favourite quotes:

    Code:
    I don't need easy, I just need possible. ~ Me 
    
    There are three birds on a fence. Two decide to fly away, how many are left? Three, just because you decide to do something doesn't mean you've done it. ~ Don't know who said this
    
    Do not go where the path may lead, go instead where there is no path and leave a trail. ~ Ralph Waldo Emerson
    Quote Originally Posted by VirtualSia View Post
    You both have a very weird and awkward view on Computer science.
    Computer science is about computing, which is programming.
    Definition of computing: The use or operation of computers.
    Turning on my computer = computing = programming
    LAWLFAIL

  9. #9
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Ill explain a few reasons.

    1.Accessing class member data
    2.Accessing data on the free store
    3.Passing variables by reference to functions

  10. The Following User Says Thank You to Auxilium For This Useful Post:

    VvITylerIvV (08-10-2010)

  11. #10
    VvITylerIvV's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    The streets
    Posts
    668
    Reputation
    5
    Thanks
    61
    My Mood
    In Love
    Quote Originally Posted by Koreans View Post
    Ill explain a few reasons.

    1.Accessing class member data
    2.Accessing data on the free store
    3.Passing variables by reference to functions
    oh, thanks (just learning about classes... I guess you started learning a few days before me)
    Favourite quotes:

    Code:
    I don't need easy, I just need possible. ~ Me 
    
    There are three birds on a fence. Two decide to fly away, how many are left? Three, just because you decide to do something doesn't mean you've done it. ~ Don't know who said this
    
    Do not go where the path may lead, go instead where there is no path and leave a trail. ~ Ralph Waldo Emerson
    Quote Originally Posted by VirtualSia View Post
    You both have a very weird and awkward view on Computer science.
    Computer science is about computing, which is programming.
    Definition of computing: The use or operation of computers.
    Turning on my computer = computing = programming
    LAWLFAIL

  12. #11
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by VvITylerIvV View Post
    oh, thanks (just learning about classes... I guess you started learning a few days before me)
    Whenn you learn about polymorphism, youll use them a lot more

  13. #12
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    You point at say, the game's HEALTH variable. You tell your program to change it to 100.

    That's an example.

  14. #13
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by freedompeace View Post
    You point at say, the game's HEALTH variable. You tell your program to change it to 100.

    That's an example.
    pointers are not necessarily used for hacking.. and its called pointer because in that case it is pointing to the memory address (ex: 0x0001337) which contains in it the value of health.

    Pointer is just a way of getting access to memory without using the variable it self.. in programming a common way of using that is by changing a var value without actually using it, all this by using it's reference. (address)

    edit:

    a good example here:

    [php]#include <iostream>

    using namespace std;

    void person(int *age) // *age is a pointer
    {
    *age = 20; //pointing to personAge
    }

    int main()
    {

    int personAge;

    person(&personAge); //this is passing var reference

    cout << personAge;

    return 0;
    }[/php]

    output:

    Code:
    20
    Last edited by 'Bruno; 08-10-2010 at 10:07 PM.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  15. The Following 4 Users Say Thank You to 'Bruno For This Useful Post:

    -Raz0r- (08-11-2010),Melodia (08-11-2010),Void (08-11-2010),VvITylerIvV (08-11-2010)

  16. #14
    VvITylerIvV's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    The streets
    Posts
    668
    Reputation
    5
    Thanks
    61
    My Mood
    In Love
    Quote Originally Posted by Brinuz View Post
    pointers are not necessarily used for hacking.. and its called pointer because in that case it is pointing to the memory address (ex: 0x0001337) which contains in it the value of health.

    Pointer is just a way of getting access to memory without using the variable it self.. in programming a common way of using that is by changing a var value without actually using it, all this by using it's reference. (address)

    edit:

    a good example here:

    [php]#include <iostream>

    using namespace std;

    void person(int *age) // *age is a pointer
    {
    *age = 20; //pointing to personAge
    }

    int main()
    {

    int personAge;

    person(&personAge); //this is passing var reference

    cout << personAge;

    return 0;
    }[/php]

    output:

    Code:
    20
    OK... so indirect access would be helpful when I am using a function and require the function to change the value of the variable?
    Favourite quotes:

    Code:
    I don't need easy, I just need possible. ~ Me 
    
    There are three birds on a fence. Two decide to fly away, how many are left? Three, just because you decide to do something doesn't mean you've done it. ~ Don't know who said this
    
    Do not go where the path may lead, go instead where there is no path and leave a trail. ~ Ralph Waldo Emerson
    Quote Originally Posted by VirtualSia View Post
    You both have a very weird and awkward view on Computer science.
    Computer science is about computing, which is programming.
    Definition of computing: The use or operation of computers.
    Turning on my computer = computing = programming
    LAWLFAIL

  17. #15
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by VvITylerIvV View Post
    OK... so indirect access would be helpful when I am using a function and require the function to change the value of the variable?
    yea (e.g)... without needing to return (attention that arrays wont need it.. for the reason already talked about on the other topic)
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  18. The Following User Says Thank You to 'Bruno For This Useful Post:

    VvITylerIvV (08-11-2010)

Page 1 of 2 12 LastLast

Similar Threads

  1. (request) tutorial on pointer finding
    By ragman1234 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 03-26-2007, 03:21 PM
  2. i need some help dealing with warrock pointers
    By shakib in forum Hack Requests
    Replies: 1
    Last Post: 02-11-2007, 12:37 PM
  3. Weapon Pointer TUTORIAL
    By Fortran in forum WarRock - International Hacks
    Replies: 120
    Last Post: 02-10-2007, 08:44 PM
  4. OMS .32 pointers
    By Doctrine in forum MapleStory Hacks, Cheats & Trainers
    Replies: 3
    Last Post: 12-28-2006, 01:31 PM
  5. Warrock Vehicle Weapon No-overheat Pointer
    By Fortran in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 12-21-2006, 12:16 AM