In my code I have a class named membrane with a function named exciteMod(), a function named decide() and a variable named delta
membrane
exciteMod()
decide()
delta
lets say you have t number of values needed to be stored. then use this:
int *p = (int *) malloc(t*(sizeof(int)+1)); memset(p,0,t*(sizeof(int)+1));