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 | 29 |
30 | 31 |
Tags
- virtual function table
- C++
- member function pointer
- new&delete
- c++ multi chatting room
- conversion constructor
- virtual destructor
- suffix return type
- constructor
- virtual inheritance
- std::cout
- this call
- pointer to member data
- 더 지니어스 양면포커
- std::vector
- delete function
- base from member
- virtual function
- vector capacity
- vector size
- std::ostream
- std::endl
- operator overloading
- c++ basic practice
- return by reference
- discord bot
- dynamic_cast
- increment operator
- placement new
- diamond inheritance
Archives
- Today
- Total
목록std::cout (1)
I'm FanJae.
[C++] Operator Overloading III
※ 본 포스트는 코드누리 C++ Basic 강의 내용을 보고 정리한 포스트입니다. 1. std::cout의 원리#include int main(){ std::cout 1-1. std::cout의 원리- std::ostream 타입의 객체이다.- operator연산자 재정의 기술을 사용하여 재정의 한 것이다.#include /*namespace std{ class ostream { }; ostream cout;}*/int main(){ std::cout - 즉, 실제로는 std namespace안에 ostream이라는 class가 존재한다는 것이다.- 또한 std::cout은 std::cout.operator ※ 정확히 말하면, basic_ostream 이..
C++/Basic
2024. 8. 25. 17:35