Returning a multi-dimentional array from a function- how?
I'm going to go mad... I've got a function with the type char, and I'm trying to return a multi-dimentional array at the end of the function:
And I get this error:
char char_to_bin( char sOutput ); // thats my current prototyping
int main ();
//skip a lot of stuff
char char_to_bin( char sOutput )
//skip a lot of code... that part works
error C2440: 'return' : cannot convert from 'char ' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
I can see what the problem is, but I have no clue how to fix it.