From 92651de39327763a6e3c5594e4a7a92dce04facf Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Sun, 3 Apr 2022 16:03:09 +0300 Subject: Update task2_write.cpp --- k_1_SI/task2_write.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'k_1_SI/task2_write.cpp') diff --git a/k_1_SI/task2_write.cpp b/k_1_SI/task2_write.cpp index a5ae67e..f320557 100644 --- a/k_1_SI/task2_write.cpp +++ b/k_1_SI/task2_write.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; -- cgit v1.3.1-23-gd82d