Skip to content

Instantly share code, notes, and snippets.

@shinhirota
Last active October 18, 2015 05:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shinhirota/1d2d9c84354ef930eece to your computer and use it in GitHub Desktop.
Save shinhirota/1d2d9c84354ef930eece to your computer and use it in GitHub Desktop.
typedef _Person {
char* name; //名前
int age; //年齢
int sex; //性別 (0:男性 1:女性)
} Person;
typedef _Person {
char* name; //名前
int age; //年齢
int gender; //性別 (0:男性 1:女性)
} Person;
typedef _Person {
char* name; //名前
int age; //年齢
bool isMale; //性別 (true:男性 false:女性)
} Person;
typedef _Person {
char* name; //名前
int age; //年齢
bool isFemale; //性別 (true:女性 false:男性)
} Person;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment