![]() |
Some Help!
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> Thnx |
You have to use strings instead of integers to store passwords.
Strings are just arrays of characters, and there are plenty of useful functions in stdlib.h for dealing with them. |
Code:
#include <stdio.h> --WetWired |
All times are GMT -6. The time now is 01:06 AM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.