Hi all..I have a little situation that I'd really like to know.
I could have for example
struct Something {
int arr[7];
Something(int _arr[]) {...}
~Something() {}
};
or
int arr[5] and f(int _arr[]).
So my question goes, how would u initialize arr[] during the call of f() so that f() gets the initialized values?
I've tried normal initializing with {}:
Something strange( Something({0, 3, 6, 7, 2}) );
Compiling this causes an error. That's all i know for now?
U'd be a big help with my project, thanks