I have done a project for programming class but i am to put a password in it can someone give me an idea of how to place a password in it?
I have done a project for programming class but i am to put a password in it can someone give me an idea of how to place a password in it?
contact info:
Cell: 842-1140
or PM me at anytime
Where would the password be stored, in a text file, database or hard coded?
.
PC - Ubuntu 15.04 64bit Desktop
HP Pav G60-236US 3GB RAM Laptop, Ubuntu 15.04 64bit and Win7 Home
"So Daddy, how come you telling me stealing not right when YOU copying DVDs? How come? How Come?"
RIP Ramesh ...
it would be stored in a text file bossy
contact info:
Cell: 842-1140
or PM me at anytime
Telling us what language it was done in would be a start. Will the password be encrypted?
3.14159265358979323846264338327950288
4197169399375105820974944592307816406
28620899862803482534211706798 pi 101
|--- www.RealJamaicaEstate.com ™ ---|
Invest small = small returns [micro enterprise] | Invest Big = returns Big [macro enterprise]
--- www.fashionsJAMAICA.com ™ -|- www.ChampsJamaica.com ™
This wont be neccessary seeing that its months ago, but ill answer anyway.The easiest way to do it is in the coding:
When the software is opened it will as for a password:
then do the following:
//********************************************
C++
cout<<"Enter PassWord to Start Program\n";
cin>>pass;
if(pass=="your_choosen_pass")
{
//do something
}
else
return 0;
//********************************************
C#
Console.WriteLine("Enter PassWord");
pass=Console.ReadLine();
if(pass=="your_choosen_pass")
{
//do something
}
else
return 0;
//********************************************
Last edited by mobile_fan_2k5; May 16, 2010 at 04:39 PM.
Pc= Hp dv6t