Quote:
Originally Posted by feisty2
apparently you're not very familiar with C constructs, you cannot initialize a char array from a pointer (note that string literals are of type const char[N], not const char*, an array type can decay to a pointer type, but arrays and pointers are distinct entities). it's better if you just avoid C stuff all together.
|
Yes C is confusing to me, it gave me a headache even trying to do simple thing like converting int to string.