For some reason this code just will not work, it just repeats itself no matter what you type...
any suggestions?Code:#include <iostream.h> #include <stdlib.h> int main() { start: char* pass; system("cls"); cout<<"Hero Password Protection v2"<<endl; cout<<"Copyright (C) 2000 Hero Inc. Software"<<endl; cout<<"By Jake Bush"<<endl; cout<<" [email protected]"<<endl; cout<<""<<endl; cout<<"Password : "; cin>>pass; if(pass == "hello") { system("cls"); return 0; } goto start; }




Reply With Quote