언어

    [golang] tutorial - korean(한국어)

    sites h2. tutorial http://go-tour-kr.appspot.com/ http://www.codingnuri.com/golang-book/index.html (from http://ysoftman.blogspot.kr/2014/11/go.htm ) h2. Memo h3. variable type bool string int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 uintptr byte // uint8의 다른 이름(alias) rune // int32의 다른 이름(alias) // 유니코드 코드 포인트 값을 표현합니다. float32 float64 complex64 complex128 h1. Question h2. = vs :=..

    c++ / 7. POD를 아십니까?

    c++ / 7. POD를 아십니까?( 데이터 구조, Plain old data structure ) 일을 하다가 알게된 개념으로 Array를 POD와 Non POD로 만들어진 2개의 사이에서 삽질을 하다가 알게된 개념입니다. POD 또는 PODS. 이 개념은 C언어의 Struct나 built-in-type과 동일한 메모리 구조를 갖는 object를 의미합니다.즉 memset이나 memcpy와 같은 단순 메모리 복사가 가능한 것인데 여기서 C++의 클래스와 다른 부분입니다. POD의 조건은 다음과 같습니다.1. built-in-type2. 가상 함수가 없고 사용자 정의 할당자와 소멸자를 갖지 않은 class의 object3. non POD를 non-static 멤버로 가지지 않은 class의 object ..