태그>cxx(총 5개의 글)
'cxx' 관련 최근글
-
- 간단한 정수 이야기

-
Purewell.BIZ by 샘이|2012/01/19 10:58
C/C+ 정수 타입에는 여러가지가 있다. 크기별로 int8_t, int16_t, int32_t, int64_t 등이 있고, 앞에 sign-bit 사용 여부에 따라 앞에 u를 붙이기도 한다. 크기나 길이를 나타내는 size_t/ssize_t라는 것도 있다. 시스템마다 다르며, 보통 컴파일러가 지원하는 가장 큰 정수를 ..
- 간단한 정수 이야기
-
- 기본 생성자가 없는 객체 배열을 만들 수 있나?

-
Purewell.BIZ by 샘이|2008/12/05 17:42
C+ in Action Book: Pointers There is no direct way to initialize the contents of a dynamically allocated array. We just have to iterate through the newly allocated array and set the values by hand. C+에서 new연산자를 이용해서 객체배열..
- 기본 생성자가 없는 객체 배열을 만들 수 있나?
-
- Double free

-
Purewell.BIZ by 샘이|2008/08/18 10:37
각종 표준에는 이미 해체한 메모리를 다시 해체하려고 할 때 행동을 정의하지 않고 있으나, GLIBC는 깔끔하게 자살해주고 있다. 자살할 때 패턴을 눈에 익혀 놓으면 나중에 왜 죽었지?하는 일이 줄어들 것이다. #include int main(int argc, char* argv[]) { void* p(ma..
doublefree, c, cxx, cpp, malloc
- Double free
-
- delete this

-
Purewell.BIZ by 샘이|2008/08/11 15:54
[16] Freestore management, C+ FAQ Lite (내 맘대로 번역) [16.15] Is it legal (and moral) for a member function to say delete this? [16.15] 멤버함수에서 'delete this'가 올바른 구문인가? As long as you're careful, it's OK for an object to comm..
deletethis, CPP, CXX
- delete this
-
- C/C++ Programming Language Resources

-
호기심 많은 녀석 by tactlee|2006/11/16 14:34
C Programming Language Tutorial Programming in C: UNIX System Calls and Subroutines using C - Dave Marshall Programming in C: A Tutorial - Brian W. KernighanC Preprocessor The C Preprocessor for GCC version 2 - Rechard M. Stall..
- C/C++ Programming Language Resources



