Thread: another prob ppl

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    21

    another prob ppl

    I came across this statement

    vect_addr = (unsigned long *)(VIC_BASE_ADDR + VECT_ADDR_INDEX + i*4);


    i don understand what this is.. especially unsigned long *
    Last edited by Sonia; 10-13-2010 at 03:50 AM.

  2. #2
    Registered User Char*Pntr's Avatar
    Join Date
    Sep 2007
    Location
    Lathrop, CA
    Posts
    198

    Smile

    Quote Originally Posted by Sonia View Post
    I came across this statement

    vect_addr = (unsigned long *)(VIC_BASE_ADDR + VECT_ADDR_INDEX + i*4);


    i don understand what this is.. especially unsigned long *
    There's a great explanation for your question here:

    Tutorial on Pointers

    Also check out the FAQ on typecasting, and why it's used. :-)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Deal or No Deal listbox prob
    By kryptkat in forum Windows Programming
    Replies: 5
    Last Post: 03-30-2009, 06:53 PM
  2. little prob with string?
    By ghostshadow189 in forum C++ Programming
    Replies: 6
    Last Post: 04-22-2007, 02:02 PM
  3. prob function call
    By mouse163 in forum C++ Programming
    Replies: 4
    Last Post: 12-18-2002, 12:16 PM
  4. Directx D3DXMatrixLookAtLH prob?
    By Frog22 in forum Game Programming
    Replies: 4
    Last Post: 12-10-2002, 02:20 PM
  5. if-else prob..very basic so sorry to trouble u guys
    By bugeye in forum C Programming
    Replies: 2
    Last Post: 01-26-2002, 08:55 AM