Site Tools


enum

enum ANIMAL{DOG, CAT, COW}; ANIMAL SOMEVAR; SOMEVAR = CAT; CAT == 1; enum SOMENAME{NO, YES} /* NO = 0; YES = 1; */

You could leave a comment if you were logged in.
enum.txt · Last modified: 2019/10/19 17:38 (external edit)

Page Tools