Need tips/help with storing infomation

Feb 24, 2017 at 4:44pm
Hello,
I'm trying to challenge myself by making a C++ application that allows the user to input their username/password.
The problem with this is I want to be able store the data on a database but I know nothing about them.

Would I use a database/database server to access and add the users info OR should I make it contact a website that stores the database/database server on it.

Sorry if something is horribly wrong, I know nothing about this.

Thanks.
Feb 24, 2017 at 5:10pm
Why not start simply by storing user names and passwords in a text file?
Not secure, but a good way to get started.
Feb 24, 2017 at 5:17pm
I've already made a program like that but I want this one to be accessible from anywhere and give the user the ability to access the database.
Feb 24, 2017 at 5:21pm
Of course it all depends on what your trying to do and how.
Storing anything on a local computer is going to be easier than over the network.
I would recommend looking at how unix stores the /etc/password file for a local version.
If your doing a database for a wed server to login forget what I just said.
There are probably a thousand guides out there just google it.
Feb 24, 2017 at 5:24pm
I've already made a program like that but I want this one to be accessible from anywhere and give the user the ability to access the database.


If you want to write it in C+ then you need to look at c++ networking / client-server.
Topic archived. No new replies allowed.