Login
Application in C Language
The following C program is login application developed by siva ganesh
in C Language. It is login application.. Just copy the in ur application
for authentication and comments are available for help.
In this program,
1. If u r executing first time, It asks new username and password and stored in a file.
2. If u r executing second or mo one time, it asks username directly, then checks valid or not.
2.1 If its valid open the application,(I am used just printf statement), If u want call ur main().
2.2. If its Invalid, it asks to enter valid username and password.
3. This application has the facility of changing passwords.
This concept is already available in most languages, but am used exe file to store
the username and password. If somebody try to open, it open but closed
suddenly, because I didn't use getch() on there. So hackers cant open
the file. So, more to keep the file in simple way.
Compile and Run
Depend on Compiler, Alter the Code.
For Example, Using .Net Compiler.
1. Open the file in .Net command Prompt
2. Open the location of the file
3. In this mode, cl filename.c, to compile, if its compile successfully, creates filename.exe and filename.obj files.
4. Open the filename.exe to run the file.
Compile and Run
Depend on Compiler, Alter the Code.
For Example, Using .Net Compiler.
1. Open the file in .Net command Prompt
2. Open the location of the file
3. In this mode, cl filename.c, to compile, if its compile successfully, creates filename.exe and filename.obj files.
4. Open the filename.exe to run the file.
Click here to View code
No comments:
Post a Comment