Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
int pass;
//The next 2 lines of code are the display of the password request/input of the password.
input:cout << "Please Enter Your Password: ";
cin >> pass; //Input of password
if (pass == 0) return 0; //When only 0 is typed, this will make the program exit.
if (pass == 1) goto ok; //replace the current number with any other combination of numbers,
//to set the passwords for your users. you can have 1+ users. juast add aditional if
//statements like shown below. DO NOT DUPLICATE PASSWORDS.
if (pass == 2) goto ok;
if (pass == 3) goto ok;
if (pass == 4) goto ok;
if (pass == 5) goto ok;
if (pass == 6) goto ok;
goto input; // If password is incorrect, this will make the program ask for the password aagain.
OK://goto tag so that if password is correct it continues on with your program.
//Palce all of your program beyond this point.
return 0;//This is the VERY END of the program. Do NOT add code past this point.
#include <iostream.h>
#include <stdlib.h>
int main()
{
int pass;
//The next 2 lines of code are the display of the password request/input of the password.
input:cout << "Please Enter Your Password: ";
cin >> pass; //Input of password
if (pass == 0) return 0; //When only 0 is typed, this will make the program exit.
if (pass == 1) goto ok; //replace the current number with any other combination of numbers,
//to set the passwords for your users. you can have 1+ users. juast add aditional if
//statements like shown below. DO NOT DUPLICATE PASSWORDS.
if (pass == 2) goto ok;
if (pass == 3) goto ok;
if (pass == 4) goto ok;
if (pass == 5) goto ok;
if (pass == 6) goto ok;
goto input; // If password is incorrect, this will make the program ask for the password aagain.
OK://goto tag so that if password is correct it continues on with your program.
//Palce all of your program beyond this point.
return 0;//This is the VERY END of the program. Do NOT add code past this point.
}