ok Thanks Salem.... Also I have one more question about the Password for any of you.
There is nothing saying nething about a password in this which causes the the code when compiled to give an error. So anyway what I was wondering is what am I supposed to put the PW "123" as i tried putting it as int 123 up near the char but that didnt work(I only assumed i should do this becuase i thought it might need somewhere to start to actually run in the program)Code:#include <iostream> using namespace std; int main(int argc, char *argv[]) { char Password[100] cout<<"Please enter the 3 digit password"; cin>>Password; if ( Password == 123 ) cout<<"You've enter the correct password Congratulation!"; system("PAUSE"); return 0; }



LinkBack URL
About LinkBacks



CornedBee