Database Project

In C, we have a very convenient way of storing data, known as a struct. In ICS 212, I simulated a database using this data structure, and other system functions to interface with the user. The user had options such as adding an account to the database, deleting an account from the database, viewing their account information, and searching for a specific account.

I was still fairly new to C at this time, so there were a lot of difficulties in this project. Notable issues were formatting the data according to the instructor’s specifications, and storing the data in the format we wanted. Since pointers were used to represent the entire database, there were also a lot of problems when printing data to the user.

Regardless, this was a great way to tackle the infamous concept of a pointer and handling data in a real-world setting. The process of handling input was quite cumbersome on top of the pointer issues, and I experienced many issues that arise from lower level programming languages that we usually do not face in higher level ones like Java. Luckily I will not have to face as many issues with topics such as Garbage Collection this year since we are using JavaScript!