No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
anyone know code so that i have to insert a username into the program before i can continue doing anything else? |
|
Does anyone know code to use asterisks instead of numbers for a password on C++ code? |
|
Could someone tell me the code for a timer like 60 seconds from when the first input is? Also code for a user not being able to enter a password for 1 hour if they have inserted it incorrect? thanks guys |
|
Im trying to find the average of three numbers however it only rounds it to the nearest whole number. What code can i use to get the exact number? For example at the minute it would add 2 + 3 + 2. The outcome would be 2 but i would … |
|
does anyone know the code to output "Wrong password final try" on a 2nd unsuccessful password input? and then make the program go back to the default start position for the program below? [code] #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; static const int password=1705898; int main() { … |
|
[code] #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; static const int password = 1705898; int main() { int secondnumber; while(true); { cout << "Enter Password"; cin >> secondnumber; if (password = secondnumber) { cout << "Welcome Matthew"; } else { cout << "password Rejected"; } } system ("PAUSE"); … |
|
[code=cplusplus] #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; static const int password=1705898; int main; { int secondnumber; while(true) cout>>("Enter Password") cin<<(secondnumber) if(password = Enter Password) cout<<"Welcome Lukus"; else cout<<"Password Rejected"; system ("PAUSE") return 0; } [/code] i am getting the error C2447: '{' : missing function header (old-style … |