type cast to a pointer....

This is a discussion on type cast to a pointer.... within the C++ Programming forums, part of the General Programming Boards category; anyone know how to - "type cast to a pointer to a pointer to an array of 3 floats"? I ...

  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, 06:33 AM
  2. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 08: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, 01:19 AM
  4. Glib and file manipulation
    By unixOZ in forum Linux Programming
    Replies: 1
    Last Post: 03-22-2004, 08:39 PM
  5. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 06:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21