0 LIKES LikeUnLike
Im a begginer to c++ and im using this code#include <iostream> using namespace std;int main() { int question; cout<<"Would you like to learn c++???: "; cin>> question; cin.ignore(); if (question == yes) { cout<<"Then ask windows how!\n"; } else if (question == no) { cout<<"Fine!!!\n"; } else { cout<<"are u that stupid???\n"; } cin.get();}and i get the error `yes' undeclared (first use this function) and `no' undeclared (first use this function)
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 4 answers.