Thread: Help! Pointer difficulties.

  1. #16
    Registered User
    Join Date
    Nov 2007
    Posts
    49
    Quote Originally Posted by gibsosmat View Post
    either you forgot programming in C. or you dont know how to do it..
    there are lot of problems in your code..

    avoid inliners..
    what you want to do was *heruptr+=5;..
    you better put it *heruptr = *heruptr + 5;

    *heruptr++; // not *heruptr + 1
    is *heruptr = *heruptr + 1;
    ty, but it still dont work.

  2. #17
    Registered User
    Join Date
    Nov 2007
    Posts
    49
    Im starting a new thread.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Following CTools
    By EstateMatt in forum C Programming
    Replies: 5
    Last Post: 06-26-2008, 10:10 AM
  2. Quick Pointer Question
    By gwarf420 in forum C Programming
    Replies: 15
    Last Post: 06-01-2008, 03:47 PM
  3. Parameter passing with pointer to pointer
    By notsure in forum C++ Programming
    Replies: 15
    Last Post: 08-12-2006, 07:12 AM
  4. Direct3D problem
    By cboard_member in forum Game Programming
    Replies: 10
    Last Post: 04-09-2006, 03:36 AM
  5. Struct *** initialization
    By Saravanan in forum C Programming
    Replies: 20
    Last Post: 10-09-2003, 12:04 PM