From f858d57e31326cd3bce789c891e084317c09f7c3 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 15 Apr 2025 08:15:44 -0400 Subject: [PATCH] format the numbers --- lectures/26_inheritance_II/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/26_inheritance_II/README.md b/lectures/26_inheritance_II/README.md index 36fbc97..5fb8c0b 100644 --- a/lectures/26_inheritance_II/README.md +++ b/lectures/26_inheritance_II/README.md @@ -360,4 +360,4 @@ public: }; ``` -The comment /* 0 8 */ means that the virtual table pointer starts at offset 0 of the class, and it has 8 bytes; the comment /* 8 4 */ means the variable age starts at offset 8 and it has 4 bytes. +The numbers "0 8" mean that the virtual table pointer starts at offset 0 of the class, and it has 8 bytes; the numbers "8 4" means that the variable *age* starts at offset 8 and it has 4 bytes.