๊ธฐ๋ณธ์ ์ผ๋ก Google C++ Style Guide๋ฅผ ๋ฐ๋ฅธ๋ค. ์ด ์ธ์ ์ฐจ์ด์ ์ด๋ ์ถ๊ฐ ์ฌํญ์ ์๋์ ๊ฐ๋ค.
- File Names: ๊ณต๋ฐฑ ๋์ โ-โ ์ฌ์ฉ. ํ์ฅ์๋ ์๋์ ๊ฐ์ด
- ํค๋ ํ์ผ: .h
- ์์ค ํ์ผ: .cpp
- Spaces vs. Tabs: Use only spaces, and indent 4 spaces at a time
- Braces: brace ๋ด ์ฝ๋๊ฐ ํ์ค์ด๋๋ผ๋ brace๋ก ๋ฐ๋์ ๊ฐ์ธ๋ ๊ฒ์ผ๋ก ํ๋ค.
if (condition) {
doSomething();
}
- File Names: ๊ณต๋ฐฑ ๋์ โ-โ ์ฌ์ฉ. ํ์ฅ์๋ ์๋์ ๊ฐ์ด
- ui ํ์ผ: .ui
- Spaces vs. Tabs: Use only spaces, and indent 2 spaces at a time