I'm new to coding (started yesterday) and I'm trying to do this thing where I get a custom output when I type in something specific.
#include <iostream>
using namespace std;
int main()
{
if (cin >> "test") {
cout << "test2";
}
system("pause");
return 0;
}
C++ no operator matches these operands operand types are: std::istream >> const char [5]