Invalid conversion from “const char*” to “char” error [duplicate]

You should be using single quotes for characters. Double quotes means you’re using a (potentially single-character) string literal, which is represented as a const char * (pointer to constant character).

Correct syntax: circle1.symbol = '*';

Leave a Comment