![]() |
| ||
| anonymous array in method argument Hello, i'm relatively new to C++, and i'm wondering, how can i pass in an anonymous array into a method?
I want to put the float array color into the argument itself, so i don't have to specify it separately, something like this:
Is this possible? Thanks. |
| ||
| Re: anonymous array in method argument >>Is this possible? Thanks. Yes -- do it the way you posted in the first code snippet. |
| All times are GMT -4. The time now is 2:07 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC