I wrote a program to compare colors of two shapes. If the colors are same it will display a message informing the colors are same else it will display it is not same. This is my program. It Gives a compiler error.
Error 1 - too many characters in constant//what does this mean
Error 2 - 'Circle::Circle(std::string)' : cannot convert parameter 1 from 'int' to 'std::string' //What does this mean
Error 3 - 'strcmp' : cannot convert parameter 1 from 'Circle' to 'const char *' //what does this mean
Strings should be surrounded with double quotes. Single quotes are for single characters, hence why you are getting the error about "two many characters". The second error is coming from the first, because it is trying to convert the char to an int, and then to a std::string and failing.
The third is because you are using strcmp() to compare your random objects, and you can't do that.