I want to build a simple program that can create data, update, and delete it. I'm not using a database so I want to use an array for storing it.
But, I have no clue to do that. So Here my code :
void addDataStudent() {
char name[30];
int age;
std::cout << "Name of student :";
std::cin >> name;
std::cout << "Age of student :"
std::cin >> age;
}
I want to make array something like this, so I can manipulate the data
Student[] = {
[1][John, 15]
[2][Doe, 13]
}
Anybody knows how to do that ? or give me a reference so I can start learning this code. Thanks