Click here to Skip to main content
13,092,725 members (64,619 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi !
I am writing a program in qt creator and at first when the program is runing I should enter username and password and it should check if the username or password exist in the file . but i dont know how to do it and how to check a file lines .could you tell me ?
Posted 18-Jun-13 19:48pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Always try Google first. For example for username password entry:[^]

Basic file I/o is explained here[^]

You can start with the example and modify it to your needs. If that raises further questions come back here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 19 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100