0
No match for operator <<
What's wrong with using << for cout? :( https://sololearn.com/compiler-playground/c67WJOIWXf54/?ref=app
4 Respostas
+ 2
The problem is with the text. You have a backslash. That needs to be escaped because it’s special. Check this
#include <iostream>
using namespace std;
int main() {
//circle
cout << " ___" << endl;
cout << "/ \\" << endl;
cout << "| |" << endl;
cout << "\\___/" << endl;
}
+ 1
Show us the code. The << operator should work, but we can't see what's wrong until we see your code.
0
StarCodes are you using the single character « instead of <<? It resembles the << left shift operator. However, it is not used as an operator in programming languages but can visually resemble the << symbol.
0
Brian No, I usually make projects on mobile.