Thank you, I now have another question haha.
How would you go to a previous point?
Example:
Code:
//that stuff (iostream and whatnot) don't know off the top of my head atm.
int main(){
int a,b;
string name;
cout
<< "Hello, What's your name? \n";
getline(cin,name);
cout
<< "Please enter a value" << name << ".\n";
getline(cin,a);
cout
<< "Please enter another value.";
getline(cin,b);
if(a == b){
cout
<< "a = b";
return 0;
} else {
cout
<< "Try again";
//Now it would go back to the second cout?
}
}