Skip to content

Instantly share code, notes, and snippets.

@CatOnMars
Created November 11, 2014 09:08
//C++11 lets me initailize structs nicely.
//Imagine we start with C augmented thus.
struct Party_Member{
char * character_name = NULL;
char * class_name = NULL;
int health_max = 4;
int member_flags = 0;
int experience = 0;
int current_level =1;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment