Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- return by reference
- pointer to member data
- virtual function table
- increment operator
- constructor
- std::ostream
- diamond inheritance
- delete function
- conversion constructor
- std::endl
- C++
- operator overloading
- virtual function
- std::vector
- dynamic_cast
- member function pointer
- virtual inheritance
- vector capacity
- c++ basic practice
- new&delete
- virtual destructor
- c++ multi chatting room
- 더 지니어스 양면포커
- suffix return type
- discord bot
- std::cout
- placement new
- base from member
- vector size
- this call
Archives
- Today
- Total
목록namespace (1)
I'm FanJae.
[C++] namespace 정리
※ 본 포스트는 코드누리 C++ Basic 강의 내용을 보고 정리한 포스트입니다. 1. namespace 란?C 언어에서는 동일한 이름의 함수를 2개 이상 만들 수 없다. 이와 달리 C++ 에서는 "namespace"라는 문법을 사용하면, 관련된 코드 (함수, 구조체, 전역 변수 등)을 묶어서 관리 할 수 있다. 서로 다른 이름 공간에서는 동일한 이름을 사용할 수 있다.#include namespace Audio{ void init() { printf("init Audio module\n"); } void reset() { printf("reset Audio module\n"); }}namespace Video{ void init() { printf("init Video module\n"); }}int..
C++/Basic
2024. 8. 5. 23:08