Skip to main content
gamedev.net
🔒 Locked

Array passing by reference like this...char[ ] array

Started by GekkoCube Feb 2, 2003 at 4:15 AM 0 replies 200+ views
Original Post
GekkoCube
GekkoCube
I know this works:
  void Parse( char str[] );  
but this doesn''t even though im pretty sure ive seen it like this before!
  void Parse( char[] str );  
felisandria
felisandria
char[] resolves to char *, if you want things going that way...

-fel
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.