cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Simple text file vs MS Access for a data
Simple text file vs MS Access for a database?
Aug 17, 2017 at 3:28am UTC
omer123
(77)
Hi.
Let's say I have a program, a user login system, a place where members can sign in and new users can sign up. My program expecting to have more than a thousand users. Do I use a simple text file in notepad or use MS Access database?
Last edited on
Aug 17, 2017 at 3:35am UTC
Aug 17, 2017 at 3:54am UTC
JLBorges
(13770)
Simple text files.
Could be modelled on:
/etc/passwd
https://en.wikipedia.org/wiki/Passwd_(file)#Password_file
/etc/shadow
or
/etc/master.passwd
https://en.wikipedia.org/wiki/Passwd_(file)#Shadow_file
Aug 17, 2017 at 7:38am UTC
Thomas1965
(4571)
@JLBorges,
are these tools in the links available for Windows as well?
@OP,
I would not recommend Access with plain C++, since it's really complicated to use with ODBC.
If you want a database have a look at SQlite.
Aug 17, 2017 at 10:11am UTC
JLBorges
(13770)
> are these tools in the links available for Windows as well?
These are just password file formats (used by unix and unix-like systems).
The associated password management tools (
chpass
,
passwd
,
vipw
etc.) are unix or unix-clone specific.
Windows has the
net user
command with equivalent functionality.
Aug 17, 2017 at 10:42am UTC
Thomas1965
(4571)
Thanks.
Topic archived. No new replies allowed.