Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--k_1_SI/task2_read.cpp1
diff --git a/k_1_SI/task2_read.cpp b/k_1_SI/task2_read.cpp
index bf55be9..e6a8312 100644
--- a/k_1_SI/task2_read.cpp
+++ b/k_1_SI/task2_read.cpp
@@ -6,6 +6,7 @@ using namespace std;
const size_t MAX_NAME_SIZE = 22;
struct Student
{
+ //gender should be BEFORE fn so the struct would be 28 bytes.
char name[MAX_NAME_SIZE + 1];
bool isMale;
size_t fn;