본문 바로가기

전체 글403

새로운 compile options -Wl,option : Pass option as an option to the linker. If option contains commas, it is split into multiple options at the commas. -g Produce debugging information in the operating system’s native format (stabs, COFF, XCOFF, or DWARF 2). GDB can work with this debugging information. -pthread Add support for multithreading using the POSIX threads library. This option sets flags for both the preproc.. 2008. 7. 24.
Class 내의 const static 멤버의 초기화 위치 - 출처 : 채현님 블로그 Why I wrote this page? -------------------------------------------------------------------------------------- const char* 형을 클래스 내부에 static 으로 가지고 있으려고 했는데, 오류를 해결하려고 오랜시간을 보낸결과 정리가 잘되어있는 블로그를 발견하고 이를 해결하였다. 약간 정리 하여 아래에 기술해본다. 채현님께서도 해깔린다고 했는데, 다음에 또 해깔리겠군 ㅡ.ㅡ; Description -------------------------------------------------------------------------------------- 1. 클래스 내의 모든 static member variables.. 2008. 7. 7.
Test Driven Development (TDD) & Unit Test Introduction ---------------------------------------------------------------------------- Test Driven Development : TDD란 개발하고자 하는 프로그램(혹은 프로그램을 구성하고 있는 컴포넌트)의 동작을 점검할 수 있는 테스트를 먼저 작성하고 테스트를 통과할 수 있게 코딩을 하는 방법을 말한다. Unit Test : 하나의 프로그램을 일을하는 작은 단위로 잘게 나누어 그 작은 단위들이 올바로 동작하는지를 확인하는 과정이다. Test Driven Development 를 하기위해 이용하는 하나의 매커니즘이다. Why should we use? -------------------------------------------.. 2008. 6. 11.
Doxygen - Source code documentation generator tool Doxygen 이란 소스코드에 일정형식으로 주석을 달면 그에 따른 메뉴얼을 자동으로 생성해주는 툴이다. 정리는 이용하면서 틈틈히 채워주겠다. http://www.stack.nl/~dimitri/doxygen/ 2008. 6. 5.