Skip to content

growinghsb/1945

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1945_First

슈팅게임 1945 모작

코딩표준

  1. 읽기 쉬운 코드를 작성할 것
  2. 기본값으로 초기화라도 항상 모든 값에 초기화를 진행할 것
  3. 구조체는 s, enum class 및 enum 은 e 를 붙여 작명할 것
  4. 구조체와 클래스는 대문자로 시작하며 파스칼 표기법을 따를 것
  5. 멤버변수는 m 을 붙여 일반 매개변수와 구분할 것
  6. 클래스 안에서 선언순서는 public -> protected -> private 순으로 선언할 것
  7. 고정타입자료형을 사용할 것(int x, int32_t o)
  8. 전역함수는 대문자, 멤버함수는 소문자로 시작해 카멜케이스를 따를 것
  9. 멤버함수 선언 시 구현이 없다면 {} 보다는 = default 를 사용할 것
  10. 뒤에 추가적인 단어가 오지 않는 경우 줄임말은 모두 대문자로 표기한다.
  11. 클래스 멤버변수는 무조건 private 으로 두며, 예외적으로 부모 클래스인 경우 protected 를 유지한다.

완성, 유튜브 링크

https://www.youtube.com/watch?v=NO6iRk3epvM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published