简体   繁体   中英

Database connections with ANSI C — is it possible and how?

我正在尝试创建一个将用户帐户详细信息存储在C中的系统。我知道可以通过将所有数据写入文件来完成数据存储,但是我想知道它们是否还有其他存储信息的方式,例如与某些用户的连接数据库应用程序(例如MySQL等)。我不知道是否可行。

SQLite is embedded database which means you just include its source code into your project and it's written in C. So you just add header and call functions directly from your code. It has a pretty good manual. Yet, database storage might be too complicated if you have small amount of data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM