As I know in C++ you can change the value of (char *
) variable , but I have an error.
The error is:
error C2440: '=': cannot convert from 'const char [71]' to 'char *'
before I declared a char*
variable:
char *sql;
and then I want to use it, but:
sql = "INSERT INTO person (id,name,last,age) " \
"VALUES (1, 'Paul', 'Yezh', 14); ";
On the equal sign I have this error.