Thread: passing arrays of structs :(

  1. #16
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    the definition of the struct will need to be global, and usually above your function prototypes

  2. #17
    Registered User
    Join Date
    Sep 2006
    In very short testing, no - I couldn't do it without the definition of the struct, being above the first reference to the name of the struct (in the function prototype).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. More trouble passing arrays
    By Rad_Turnip in forum C Programming
    Replies: 2
    Last Post: 04-04-2006, 08:11 PM
  2. Replies: 6
    Last Post: 04-26-2004, 10:02 PM
  3. Help Understanding Passing Arrays To Functions
    By jrahhali in forum C++ Programming
    Replies: 7
    Last Post: 04-10-2004, 02:57 PM
  4. passing structs to functions?
    By Neildadon in forum C++ Programming
    Replies: 1
    Last Post: 12-13-2002, 04:31 PM
  5. passing arrays to functions
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 03-01-2002, 03:18 PM

Tags for this Thread