Ok im making a program to store my phone numbers but i can't get it to work.
Heres my code(without the numbers).
Code:
#include<iostream>
using namespace std;
int main()
{
int codeone;
cout<<"Imput security code 1:";
cin>> codeone;
cin.ignore();
if(codeone == 15973){
cout>>"*****************\n";
cout>>"*****************\n";
cout>>"*****************\n";
cout>>"*****************\n";
cout>>"*****************\n";
cout>>"*****************\n";
}
else {
cout>>"Get out of my numbers.\n";
}
cin.get();
}
I can give you my buildlog if you want it.
Thanks.