次の関数をコンパイルしようとすると、次のエラーが発生します。
Error: invalid operands of types int and const char [3] to binary operator
これを修正するにはどうすればよいですか?
string getFormattedDate()
{
formattedDate = Date.getDay() << "/" << Date.getMonth() << "/" << Date.getYear();
return formattedDate;
}