1typedef struct
2{
3 //add different parts of the struct here
4 string username;
5 string password;
6}
7user; // name of struct - you can name this whatever
8
9user example; //variable of type user
10
11example.username = "Comfortable Caterpillar"; // username part of example variable
12example.password = "password" // password part of example variable
13
14if (user.username == "Comfortable Caterpillar")
15{
16 printf("upvote this if it helped!");
17}