Hello !
Ive looked all over google for an answer to this and believe it or not i also have 2 full books on C++ that dont seem to cover the problem im having. So now i have resorted to bothering you people!
Anyways the question is i have something like this
char * ptr_Result=0;
char char_array[] = "foobar";
ptr_Result = &char_array;
but then the compiler throws this error
error C2440: '=' : cannot convert from 'char (*)[5]' to 'char *'
i dont get it... i dont see why its even looking at a character when its passing the address of the char array to the pointer?
Bah