Building a database

Building a database was the last project I had to do in ICS 212 at UH Manoa. First, we had to build a databause using c, and then later on we had to build that same database using c++. The database consisted of records of “clients”. Each client would have an accountnumber, name and address and a pointer to the next record. The list needed to be sorted in ascending order. The person with the account number needed to be at the front of the list.

When the program ran, the user was presented with a menu. Records could be added to the list, removed from the list, and addresses could be changed. Records could be searched and found by accountnumber. I had to write several functions and we made use of pointers among other things. I wrote a readfile and a writefile function. I also wrote a function that reversed the list, thus it made the list in descending order.

For this project, I wrote every function and every line of code. It was a project we had to do by ourselves. We could discuss the project with our classmates, but we were not allowed to discuss any of the specifics of the code with our classmates. This made sure that I have gained a semester full of experience in c and c++. My code for this project is not available online. We programmed it on our personal devices. I used terminal.