struct users {
char username[50];
char password[15];
char gender[1];
int age;
} *table;
would be executed when the user of the database inputs:
CREATE TABLE users ( username VARCHAR(50), password VARCHAR(15), gender VARCHAR(1), age INTEGER );
The problem is that arrays and structures only last for the duration of execution, so I would need some way of writing the data to the hard drive. Is this possible? Sorry if this is a dumb question.


Sign In
Create Account


Back to top









