Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit6aeee4b7aa41fe6557c6bd4de41756c6e92717da (patch)
Author
 Angel Dimitriev <angel_dimitriev@abv.bg>
2022-04-03 16:03:33 +0300
Committer
 GitHub <noreply@github.com>
2022-04-03 16:03:33 +0300
Files74d5a9ddbe1a8221fa7c2edec39ccd95d509b2c9
Object-oriented_programming_FMI-6aeee4b7aa41fe6557c6bd4de41756c6e92717da.tar
Object-oriented_programming_FMI-6aeee4b7aa41fe6557c6bd4de41756c6e92717da.tar.gz
Object-oriented_programming_FMI-6aeee4b7aa41fe6557c6bd4de41756c6e92717da.zip
Parent92651de39327763a6e3c5594e4a7a92dce04facf (diff)
Update task2_read.cpp
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;