Thread: Address Logger?

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 34
  1. #16
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    Well I didn't know so I figured I'd just got over everything .... actually that took a long time.

    Anyway the return sort of acts like a break statement. Since a function can only return once the first return that executes ends the code.


    And yeh I lot of people put the * on the type, but its a little misleading because C++ doesn't recognize the type as pointers only specific variables. Say if you wanted to declare multiple pointer variables at once:

    Code:
    int* a, b, c;  // This would not work.
    Code:
    int *a, *b, *c;   // This would.
    Some people who do this are just trying to make a point that Microsoft should change C++ to make an entirely new pointer type. :L
    Sorry for wasting your hard work >_<.
    But yeah i do it like
    Code:
    int* a, * b, * c;
    *b = 3
    *c = 34
    Because to me putting the * beside int while making the variables is to remind me that when initializing
    Code:
    int* a = address
    That at this state a is the address, and not the pointed to value. Otherwise i might confuse my self and think, hey there is an * beside the variable, that means the value pointed by, thus im gonna put what i want the pointed to value to be.

  2. #17
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,204
    My Mood
    Flirty
    Lol. np

    Quote Originally Posted by zeco View Post
    Dude, i have 2 separate(chrome, and Firefox) browsers with 30 tabs each. I get forgetful sometimes.
    BTW: have you ever heard of bookmarks o_O? wow 30 tabs each xD that's ridiculous.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  3. #18
    Threadstarter
    Dual-Keyboard Member
    Zhhot's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Vancouver
    Posts
    314
    Reputation
    10
    Thanks
    52
    My Mood
    Inspired
    Quote Originally Posted by why06 View Post
    Lol. np



    BTW: have you ever heard of bookmarks o_O? wow 30 tabs each xD that's ridiculous.
    dude i get confused when i open up more than 5 tabs lol

  4. #19
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    I do use bookmarks >_> It's just a lot of my tabs are google searches that i think of at the moment, and say to myself i'll look at it later, i usually remember, but sometimes i forget.
    And the other tabs are devoted to thinks i check on a daily basis, like one manga, and mpgh.

    edit: Haha i was wrong, i only have 20 tabs on one, and 33 on the other.

  5. #20
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    And yeh I lot of people put the * on the type, but its a little misleading because C++ doesn't recognize the type as pointers only specific variables. Say if you wanted to declare multiple pointer variables at once:

    Code:
    int* a, b, c;  // This would not work.
    Code:
    int *a, *b, *c;   // This would.
    Some people who do this are just trying to make a point that Microsoft should change C++ to make an entirely new pointer type. :L
    Nice writeup , however.... sample a does work.
    Also c++ does support specific pointer types (like void pointers etc)

    Code:
    typedef struct MyBUFFER
    {
        void* pBuffer;
        unsigned long ulSize;
    } MyBUFFER, *PMyBUFFER;
    
    void DoSomething()
    {
        ..do something interesting
        MyBuffer* pBuff2;
        PMyBuffer pBuff; //Basically the same things as writing:  MyBuffer* pBuff2;
        //*pBuff would be the same as **pBuff2
        ..do some other stuff
    }
    But that's a slight detail Put the */& where ever makes most sense for you and don't over complicate things so that months from now if you need to work on the code you still remember what the heck you did.

  6. #21
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,204
    My Mood
    Flirty
    Wow. Im confused.
    right here:
    Code:
     MyBUFFER, *PMyBUFFER;
    did you just declare a pointer variable PMyBUFFER ?
    what's with the comma?

    So far I'm just getting into typedef in my book and I don't know why it exists. unless if you just feel the need to name something something else o_O?

    BTW: if im right then this would declare PMyBUFFER too:
    Code:
    struct, PMyBUFFER;
    right?


    On second thought Im just gonna shut-up xD. I don't even know what a void pointer is. I've never used void in a type only in functions. Guess I'll get to it eventually. :P

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  7. #22
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    You are also confusing me, but i think a little less then Why06. The *PMyBUFFER; , means a pointer to the type you just created, MyBuffer, correct? What confuses me, is how a pointer to a custom type would work, guess i can just try it out and see what happens

    Wait isn't PMyBuffer supposed to be a variable of the struct MyBuffer? How are you using the variable like it is a type, and creating more variables with it 0.0? Sorry that i know so little.

    Wait ignore that last paragraph, forgot the typedef. To be honest i'm not that steady with understanding of typedef but i think i understand that part. Really just the pointer to a custom type that i don't understand....

    Mybuffer* pbuff = new Mybuffer;

    Ok, nevermind just completely ignore me, Please and thank you.
    Last edited by zeco; 09-03-2009 at 10:42 PM.

  8. #23
    Threadstarter
    Dual-Keyboard Member
    Zhhot's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Vancouver
    Posts
    314
    Reputation
    10
    Thanks
    52
    My Mood
    Inspired
    Quote Originally Posted by zeco View Post
    You are also confusing me, but i think a little less then Why06. The *PMyBUFFER; , means a pointer to the type you just created, MyBuffer, correct? What confuses me, is how a pointer to a custom type would work, guess i can just try it out and see what happens

    Wait isn't PMyBuffer supposed to be a variable of the struct MyBuffer? How are you using the variable like it is a type, and creating more variables with it 0.0? Sorry that i know so little.

    Wait ignore that last paragraph, forgot the typedef. To be honest i'm not that steady with understanding of typedef but i think i understand that part. Really just the pointer to a custom type that i don't understand....

    Mybuffer* pbuff = new Mybuffer;

    Ok, nevermind just completely ignore me, Please and thank you.
    ur welcome, and as i said, i dont get a thing said in this thread, i just copy pasted the whole thing

  9. #24
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by Zhhot View Post
    ur welcome, and as i said, i dont get a thing said in this thread, i just copy pasted the whole thing
    Yeah i can be really confused/confusing sometimes, But i think i get it all now. By the way, what is the point of structs? Haven't classes basically superseded them? To my knowledge the only difference between a struct and a class, is the default access specifier (class is private, struct is public.)

    Classes rule! Except in school.

  10. #25
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,204
    My Mood
    Flirty
    Quote Originally Posted by zeco View Post
    Classes rule! Except in school.
    Here's your Punchline

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  11. #26
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    >_> I hope all i've learned over the summer doesn't rot due to school.

  12. #27
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,204
    My Mood
    Flirty
    Quote Originally Posted by zeco View Post
    >_> I hope all i've learned over the summer doesn't rot due to school.
    That's the most paradoxical statement I've ever heard. No lie o_O

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  13. #28
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    Quote Originally Posted by zeco View Post
    >_> I hope all i've learned over the summer doesn't rot due to school.
    That's the most paradoxical statement I've ever heard. No lie o_O
    0.0 Haha I suppose you're right. I think i'm gonna put it in my sig xD. But it's true >_<. If school takes over my life i'm gonna lose all my knowledge. Well of things that matter anyway.

  14. #29
    Threadstarter
    Dual-Keyboard Member
    Zhhot's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Vancouver
    Posts
    314
    Reputation
    10
    Thanks
    52
    My Mood
    Inspired
    Quote Originally Posted by zeco View Post
    0.0 Haha I suppose you're right. I think i'm gonna put it in my sig xD. But it's true >_<. If school takes over my life i'm gonna lose all my knowledge. Well of things that matter anyway.
    print all ur source codes, and review them on weekends, lol

  15. #30
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,204
    My Mood
    Flirty
    Quote Originally Posted by zeco View Post
    0.0 Haha I suppose you're right. I think i'm gonna put it in my sig xD. But it's true >_<. If school takes over my life i'm gonna lose all my knowledge. Well of things that matter anyway.
    Lol. In a weird way I suppose your right. I'm finding it harder to find times to study C++, cuz I've gotta pass classes too. But it's like the classes I'm taking are not important... :P

    Quote Originally Posted by Zhhot View Post
    print all ur source codes, and review them on weekends, lol
    That sounds like a lame way to spend a weekend... :L

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Address Logger
    By iRobot™ in forum WarRock Hack Source Code
    Replies: 30
    Last Post: 07-22-2010, 11:56 PM
  2. Address logger for crossfire`?
    By GER-Domi. in forum CrossFire Help
    Replies: 1
    Last Post: 07-04-2010, 09:22 AM
  3. [Request] Warrock Address Logger
    By BMW M5 in forum WarRock Discussions
    Replies: 5
    Last Post: 11-15-2009, 02:57 AM
  4. [Help] Sorry for this but - Address Logger ?
    By D e a t h h a u n t S in forum WarRock - International Hacks
    Replies: 7
    Last Post: 09-28-2009, 01:40 PM
  5. anyone got a address logger?
    By bldymarien in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 08-30-2008, 08:44 PM

Tags for this Thread