Website Summary Files Commits Branches @commit @diff @stats
path: root / Week02 / Exercise04 / product.h
blob: e83e5eedc6c1cee1bfa37e782339d33e977bd0fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _PRODUCT
#define _PRODUCT

static const unsigned MAX_NAME_LENGTH = 256;

struct Product {
	unsigned ID;
	char name[MAX_NAME_LENGTH];
	unsigned stockSize;
};

#endif