I was wondering if it is possible to have people create accounts with passwords and be able to login in to them within a C++ console app without using SQL. Like winsock or something.
cam9856 0 Light Poster
Recommended Answers
Jump to Postyou don't need an SQL database to save and access user account information. You can do it with simple text files. Why do you think you need winsock? Just use normal file i/o techniques to read the text file, find the user's id, read the associated password and compare it …
Jump to PostOf course its possible, I've done it several times using ODBC device driver. There are several c++ ODBC classes to make that easier, some are free while others are not. Just google for ODBC c++ classes and you will find them.
Jump to Postyou can set up the mysql server on any computer you want to on the network. Then when you install the odbc driver on your computer you tell it which computer the mysql server is running on.
All 10 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
cam875 1 Junior Poster
tesuji 135 Master Poster
cam875 1 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
cam875 1 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
cam875 1 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
cam875 1 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.