Results 1 to 3 of 3

Thread: simple login program in c using file manipulation

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1

    simple login program in c using file manipulation

    Can anyone help me to create a program in c that the user will input his/her username and password and the program will search to a file. And if that username and password are in the file for example the user input:

    username: user
    password: pass

    and the value of the file are:
    user1 pass1 08
    user pass 78
    username password 19

    it should be successfully login because the username and password of the user matches the value in the second line of the file and the user_id umber 78 will be save to another variable. But if it is not the program will print "Invalid Username or Password".
    Please guys help me to create this program.i really try to make this but always error and sometimes segmentation fault.. Actually im running out of time because tomorrow will be the deadline of submission of the project.

  2. #2
    Elite Member TonyT's Avatar
    Join Date
    Jan 2000
    Location
    Fairfax, VA
    Posts
    10,335
    No one has any right to force data on you
    and command you to believe it or else.
    If it is not true for you, it isn't true.

    LRH

  3. #3
    Junior Member
    Join Date
    Aug 2017
    Posts
    1
    I have a company bank account in USA for an unlimited transfer...we share 50/50...serious one should contact me for details via kapadran@gmail.com

Similar Threads

  1. Simple Program, timer
    By Zmoney in forum Software Forum
    Replies: 4
    Last Post: 01-04-04, 12:52 AM
  2. Simple Program To Animate Pictures
    By smartegyptian in forum Software Forum
    Replies: 1
    Last Post: 11-23-02, 05:17 PM
  3. simple program
    By monkeyhead in forum Programming Forum
    Replies: 3
    Last Post: 09-14-02, 01:38 AM
  4. simple program question
    By JamieLee2k in forum General Discussion Board
    Replies: 3
    Last Post: 12-17-01, 11:05 AM
  5. FTP Program errors..can't login to my webhost
    By drdoug99 in forum Software Forum
    Replies: 3
    Last Post: 11-26-01, 03:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •