일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- agile
- hadoop
- django
- essay
- MySQL
- Italy
- ubuntu
- Programming
- web
- Malaysia
- AI
- Python
- Book
- programming_book
- QT
- erlang
- Artificial Intelligence
- comic agile
- history
- hbase
- Kuala Lumpur
- management
- France
- Java
- leadership
- Linux
- program
- Book review
- RFID
- Software Engineering
- Today
- Total
목록JH & HJ (853)
상실의시대:원제노르웨이의숲 카테고리 소설 > 일본소설 > 일본소설문학선 지은이 무라카미 하루키 (문학사상사, 2010년) 상세보기 2011.06.12 책의 존재를 안 것은 대학 시절이었지만 왠지 모르게 손이 가지 않았고, 어쩐지 읽고 싶은 마음이 들지 않아 여태까지 방치해두고 있었다. 읽으려고 하다가 지난 번 그냥 비행기 안에서 시간을 보내기 위해 가져갔던 '바람의 노래를 들어라'의 안 좋았던 기억(전혀 좋아하는 스타일의 글도 아니고, 비행기 안에서 너무 피곤하기도 했고)때문에 선뜻 펼쳐보지 못하다가 언제 읽어도 즐거운, 지난 번 공원에 가면서 가져갔던 '먼 북소리'로 인해 다시 읽을 생각을 하게 되었고 오늘 드디어 읽었다. 와이프의 말처럼 먼 북소리와는 전혀 다른, 유쾌한 구석이 없는 우울한 이야기였다..
http://subversion.tigris.orghttp://magp.ie/2010/03/25/revert-or-rollback-a-svn-revision/http://seedraker.tistory.com/28http://asbear.tistory.com/entry/SVN-사용시에-branch와-merge-잘-이용하기 http://asbear.tistory.com/entry/SVN-branch-and-merge-쉽게-활용하기-2http://asbear.tistory.com/entry/SVN-trunk-변경사항-되돌리기-SVN-Rollback add $ svn add src/xdt/apr-1.3.5 $ svn ci src/xdt/apr-1.3.5 -m "add library files for xtd" ..
출처: http://yesarang.tistory.com/70 //Runnable.h #ifndef_RUNNABLE_H #define_RUNNABLE_H class Runnable{ public: virtual void Run() = 0; }; #endif //Thread.h #ifndef_THREAD_H #define_THREAD_H #include "Runnable.h" class Thread:public Runnable{ public: Thread(); Thread(Runnable* pRunnable); void Start(); void Wait(); virtual void Run(); private: pthread_t_thread; Runnable*_runnable; static void* Mai..
출처: http://yesarang.tistory.com/69 2011/05/24 - [Programming/C++] - C에서 C++ 코드 호출 //callable.h #ifndef_CALLABLE_H #define_CALLABLE_H #ifdef__cpluscplus extern "C"{ #endif void* UsefulCppClassWrappingFunction(void* pInst); #ifdef__cplusplus } #endif #endif //callable.cpp #include #include "c2cpp.h" using namespacestd; extern "C" { void* UsefulCppClassWrappingFunction(void* pInst) { cout
출처: http://yesarang.tistory.com/69 //thread.c #include #include #include //for sleep() #include //for free() void* start_routine(void* data) { inti=0; printf("starts to run\n"); while ( ++i < 20 ){ printf("%d\n", i); sleep(1); } if ( data != NULL ) free(data); returnNULL; } int main(void) { pthread_tthrd; intnr=0; void*data; //created thread executes start_routine nr=pthread_create(&thrd, NULL, ..
2011/05/24 - [Programming/C++] - include guard 2011/05/24 - [Programming/C++] - include guard 출처: http://yesarang.tistory.com/67 include guards: 이미 읽은 헤더 파일도 다시 읽음 #pragma once: 각 파일별로 프리프로세서가 include한 상태를 기억하므로 한 번 읽은 헤더 파일은 읽지 않음. 즉 컴파일 속도 유리 include guards: 각 헤더 파일에 대응하는 매크로 이름이 서로 충돌할 가능성이 있으므로 나름의 include guards 명명 규칙이 필요 #pragma once: 프리프로세서에서 #pragma once 처리에 버그가 있거나, 파일 시스템 상에서 파일의 동일성을 ..
2011/05/24 - [Programming/C++] - C/C++ mixed programming 2011/05/24 - [Programming/C++] - C/C++ mixed programming 출처: http://yesarang.tistory.com/66 이미 존재하는 C library를 C++에서 사용하는 경우 //max.h int max(int a, int b); //cppmain.cpp #include extern "C" { #include "max.h" } using namespace std; int main(void) { intim=max(100, 30); cout
2011/05/24 - [Programming/C++] - C/C++ mixed programming not to use name mangling C library 작성시 나중에 C++에서 활용될 가능성을 미리 염두해 두고, 헤더 파일 처음과 마지막에 extern "C" {}가 조건부 컴파일되게 한다 //externc.cpp #include using namespace std; extern "C" int max(int a, int b) { if ( a > b )returna; elsereturnb; } int main(void) { intim=max(100, 30); cout
출처: http://yesarang.tistory.com/65 naming mangling //mixed.cpp #include using namespace std; double max(double a, double b) { cout
2011/05/24 - [Programming/C++] - include guard //hdr1.h #ifndefHDR1_H #defineHDR1_H class DummyBase{ private: int_i; public: DummyBase(int i): _i(i){} int Get(){return_i;} void Set(int i){_i=i;} }; #endif //hdr2.h #ifndefHDR2_H #defineHDR2_H #include "hdr1.h" class Dummy: DummyBase{ public: Dummy(int i): DummyBase(i){} int operator() () {returnGet();} int operator() (int multi){returnGet() * mul..