From d7baf04e5f90f28bbcb83726f2a931cf808d1461 Mon Sep 17 00:00:00 2001 From: y-syo Date: Mon, 3 Feb 2025 18:53:18 +0100 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=93=9D=E3=80=8D=20doc(NORM.md):?= =?UTF-8?q?=20fixed=20the=20norm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NORM.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NORM.md b/NORM.md index 1692f68..931e93c 100644 --- a/NORM.md +++ b/NORM.md @@ -2,14 +2,14 @@ ## File Structure -- Header Files (.h): +- Header Files (.hpp/.h): - Include declarations of classes, functions, constants, and macros. - Use include guards or #pragma once to prevent multiple inclusions. - Source Files (.cpp): - Contain the implementation of functions and classes. ## Naming Conventions -- Variables: camelCase (e.g., int studentAge;) +- Variables: snake_case (e.g., int student_age;) - Functions: camelCase (e.g., void calculateSum();) - Classes: PascalCase (e.g., class UserAccount {};) - Constants: ALL_CAPS_SNAKE_CASE (e.g., const int MAX_SIZE = 100;)