Thread: Some Help!
View Single Post
 
Some Help!
Reply
Posted 2002-04-08, 05:55 PM
Ok im tryin to write a program, that is sort of like a password protection thingy, where it asks the password, and if u get it right it says, correct you may continue (after that would let u continue with program, in future program) and if u type it wrong It will, deny you and leave you with nothing.

Now, my problem is, declaring the variables..
this is wat I got so far
Code:
#include <iostream> 
#include <conio.h> 
using namespace std; 

int main() 
{ 
int shokka; //correct password 
int ??????; // wrong password
im stuk on the second variable... How can I declare it if it can be more than one thing???? like i dont understand.... how to declare a variable that will have different inputs....like it could be "defew" or "moomannHy89"

Thnx
Old
Profile PM WWW Search
spa is neither ape nor machine; has so far settled for the in-betweenspa is neither ape nor machine; has so far settled for the in-between
 
spa