From f18c44909c604a01bb0265d006a84223ee88d603 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 1 Mar 2026 18:33:54 +0200 Subject: feat(Week02): Add solutions --- Week02/Exercise04/product.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Week02/Exercise04/product.h (limited to 'Week02/Exercise04/product.h') diff --git a/Week02/Exercise04/product.h b/Week02/Exercise04/product.h new file mode 100644 index 0000000..e83e5ee --- /dev/null +++ b/Week02/Exercise04/product.h @@ -0,0 +1,12 @@ +#ifndef _PRODUCT +#define _PRODUCT + +static const unsigned MAX_NAME_LENGTH = 256; + +struct Product { + unsigned ID; + char name[MAX_NAME_LENGTH]; + unsigned stockSize; +}; + +#endif -- cgit v1.3.1-26-gb76a