Name: Anonymous 2010-05-02 13:51
This! Is! C++!
Is this impossible?
I'm only able to store stuff in strings. But strings cannot be converted to char*, only const char*. And const char* can't be used in place of char*.
Can't I just do something like getline(char* text,256,' ')? Or will have I have to copy data from a string into a char*?
Is this impossible?
I'm only able to store stuff in strings. But strings cannot be converted to char*, only const char*. And const char* can't be used in place of char*.
Can't I just do something like getline(char* text,256,' ')? Or will have I have to copy data from a string into a char*?