전체보기
-
새장 속의 새(ユアネス) - yourness음악 2020. 9. 14. 16:14
ユアネス - yourness 애니메이션 예스터데이를 노래하며의 첫 번째 엔딩. 뮤비도 참 좋다.
-
[C++] 정규 프로젝트 구조(Canonical Project Structure)프로그래밍/c++ 2020. 8. 28. 12:57
OpenStd, Canonical Project Structure를 참고 함 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1204r0.html 헤더와 CPP는 같은 디렉토리에 헤더와 소스는 옆에 있음 Header and source files (or module interface and implementation files) are next to each other (no include/ and src/ split). 의외라고 생각한 부분. 헤더는 include/ 소스는 src/ 로 나누는 방식을 권할 줄 알았음. 프로젝트의 소스 코드는 프로젝트와 동일한 이름의 디렉토리 아래에 배치 name/ ├─ name/ │ ├─ foo.hpp │ ├─ foo..
-
c++ namespace 로 감싸진 클래스, 구조체 전방 선언프로그래밍/c++ 2020. 8. 26. 02:51
// Foo.h // // namespace 를 먼저 선언 여기선 예제를 위해 AnyNamespace로 함. namespace AnyNamespace { class AnyClass; } // 여러 뎁스의 경우(since C++17) namespace AnyNamespace::Depth1::Depth2 { class AnyClass2; } class Foo { public: void HandleAnyClass_0_mutable(class AnyNamespace::AnyClass&); void HandleAnyClass_0_const(const class AnyNamespace::AnyClass&); // 또는 class를 붙여서... void HandleAnyClass_1_mutable(AnyNamespa..
-
Json의 NewLine은 \n프로그래밍/의문 2020. 8. 15. 01:17
Json의 NewLine은 \r\n인가 \n인가 궁금해서 찾아봄. 결론은 \n 3. Line Separator is '\n' This means '\r\n' is also supported because trailing white space is ignored when parsing JSON values. The last character in the file may be a line separator, and it will be treated the same as if there was no line separator present.
-
왜 MTU 사이즈는 1500 bytes 인가?프로그래밍/의문 2020. 8. 5. 10:59
https://community.cisco.com/t5/other-network-architecture/why-the-mtu-size-is-1500/td-p/105418 Why the MTU size is 1500 ? Can somebody explain that why the Ethernet Maximum Transmission Unit was chosen to be 1500 bytes (why exactly 1500) ? It might have some historical reason. Thanks, Nadeem community.cisco.com 1. The standard set by IEEE802.3 specifies the MTU of Ethernet is 1500 bytes. 2. Ther..
-