Thread: type cast to a pointer....

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    28

    Question type cast to a pointer....

    anyone know how to -
    "type cast to a pointer to a pointer to an array of 3 floats"?

    I came up with -
    float (**(type cast))[3];

    What goes in the type cast parins?
    This is supposed to compile with no errors.
    rc7j

  2. #2
    Clearn
    Guest

    Wink

    (float (*)[3])(any pointer); ..!!

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    28

    type cast

    Got it, thanks. It compiles OK.
    rc7j

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using VC Toolkit 2003
    By Noobwaker in forum Windows Programming
    Replies: 8
    Last Post: 03-13-2006, 07:33 AM
  2. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  3. Could somebody please help me with this C program
    By brett73 in forum C Programming
    Replies: 6
    Last Post: 11-25-2004, 02:19 AM
  4. Glib and file manipulation
    By unixOZ in forum Linux Programming
    Replies: 1
    Last Post: 03-22-2004, 09:39 PM
  5. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 06:51 PM