I recently changed a string variable in my class to a character array. Before I did this, I was able to initialize it in my default constructor like so:
Code:
MyClass::MyClass() :
myString(0)
{}
but now I get an error: incompatible types in assignment 'int' to 'char[2]'.
How would I fix this?
Thanks!