Je suis en train de compiler le code suivant dans C++C++ Erreur: Aucun match pour Call
string initialDecision()
{
char decisionReviewUpdate;
cout << "Welcome. Type R to review, then press enter." << endl;
cin >> decisionReviewUpdate;
// Processing code
}
int main()
{
string initialDecision;
initialDecision=initialDecision();
//ERROR OCCURS HERE
// More processing code
return 0;
}
droit où il est dit « Une erreur se produit ici », je reçois l'erreur suivante lors de la compilation: « Erreur: Non match pour Call to '(std :: string)(). Comment puis-je résoudre ce problème?