Lesson 9 - Person database in C - Entering and saving persons into CSV
In the last lesson, Person database in C - Creating persons and application menu, we wrote functions for adding and printing persons and created the main program module with the application menu. Now, nothing stops us from finishing the program today.
Entering a person
Let's write a function for entering a new person which adds a person to the list and lets the user enter the data through the console. Because we have a lot of useful functions prepared, it'll be very simple:
...End of the preview...
Continue further
You've come here and that's great! We believe that the first lessons showed you something new and useful
Do you want to continue the course? Go to the premium section.
Buy this course
Before buying this article, you have to buy the previous one
This article is licensed: Premium, by buying this article, you agree with the terms of use.
- Unlimited and permanent access to individual lessons.
- High quality IT knowledge.
- Skills to help you get your dream and well-paid job.
Article description
Requested article covers this content:
In this C tutorial, we'll add persons to our database and save their data into a text file of the CSV format.
You gain credits by supporting our network. This is done by sending a helpful amount of money to support the site, or by creating content for the network.