struct user {
char username[20];
char password[20];
} admin;
admin.username = "admin"; admin.password = "password";
So I'm getting a compiler error saying that admin does not declare a type. It gives this error when trying to declare both admin.username and admin.password
To be honest I am completely perplexed here and can't see whats wrong. Thanks for any help you can give.