목록프로그래밍일반 (16)
웹프로그래밍
네이버 오픈프로젝트가 2016년 말 종료한다는 계획을 발표함에 따라, SVN 저장소를 백업하는 과정에서 이를 공유하기 위해 블로그에 기록합니다. 참고 : https://iacoware.wordpress.com/2009/10/02/howto-use-svnsync-to-mirror-a-repository-on-windows/ 개요VisualSVN Servier라는 윈도우용 SVN저장소 관리도구를 설치하여 로컬 리포지터리를 만든 후, svnsync 명령어를 통해 원격SVN 리포지터리(네이버 오픈프로젝트 )의 내용을 복사합니다. 이후, 로컬에 생성한 리포지터리는 원격에서 접속하여 사용하던 방식으로 사용할 수 있습니다. 이 문서에서 다루지 않는 부분기본적인 VisualSVN Servier 사용법SVN 클라이언트 ..
softhouse에서 발행한 scrum in five minutes 문서를 한글화 해 보았습니다. 파일로 첨부 하였으며 스크럼을 이해하는데 도움이 되었으면 좋겠습니다. 퍼가실 때 출처를 밝혀주시면 고맙겠습니다. ^^ #스크럼 #scrum
1. 문자열 인덱싱 인덱싱(indexing)이란 무엇인가를 ‘가리킨다’는 의미이고, 슬라이싱(slicing)은 무엇인가를 ‘잘라낸다’라는 의미이다. 이것들을 생각하면서 다음의 예를 따라해 보도록 하자.>>> a = "Life is too short, You need Python" Life is too short, You need Python 0 1 2 3 0123456789012345678901234567890123 각 문자열의 문자마다 번호를 매겨 보았다. 즉 "Life is too short, You need Python"이라는 문자열에서 'L'은 첫 번째 자리를 뜻하는 숫자인 0을 바로 다음인 'i'는 1을 이런식으로 계속 번호를 붙인 것이다. 중간쯤에 있는 "short"의 s는 12라는 번호가 된..
함수객체나 함수포인터나 기능적으로는 거의 비슷하지만 함수객체가 더 뛰어난 이유중 중요한 한가지는 함수객체는 인라인이 가능하기 때문에 속도를 향상시킬 수 있다는 것 이다. 예를들어 정렬 알고리즘에 함수객체가 아닌 함수포인터를 사용하면 비교연산을 할 때마다 함수를 호출해야 하기 때문에 시간이 오래걸릴 것이다. 함수 객체는 클래스 안에 함수를 캡슐화해 놓은 것으로 함수 포인터에 대한 일반화라 할 수 있다. 함수 객체는 타입이므로 템플릿의 인수로 사용될 수 있지만 함수 포인터는 단순한 값일 뿐이므로 템플릿의 인수로는 사용할 수 없다. 연관컨테이너들은 내부적인 정렬 방식을 결정하기 위해 함수 객체를 요구하는데 여기에 함수 포인터를 쓸 수는 없다. #include #include #include using name..
dfb_some_function 에서 dfb_refresh_timelines를 스레드로 생성하는 예제. class dfb{ public: void dfb_some_function(); friend void *call_dfb_refrash_timelines(void *arg); void dfb_refresh_timelines(); private: pthread_t thread_refresh_ui; } void *call_dfb_refrash_timelines(void *arg){ static_cast(arg)->dfb_refresh_timelines();}void dfb::dfb_refresh_timelines(){ printf("Hello\n"); }void dfb::dfb_some_function(){..
c++ 클래스 차원의 static 변수 사용하기.분류없음2009/09/25 12:39Something.hclass Something { public: static char szName[21]; }Something.cpp char Something::szName[21]; Other.cpp void Other::otherFunction() { strcpy( Something::szName, "test"); } 클래스의 헤더파일에 저렇게 static 키워드를 붙여주고, 주의할점은 선언한 클래스의 구현부 파일에 char Something::szName[21] 처럼 명시를 해줘야한다. 저렇게 명시를 해줘야 obj 파일에정상적으로 정보가 등록되어 다른 클래스에서 접근할 수 있다. 예를들어 Other 이라는 클래스에..
문제 :윈도우즈 프로그래밍 시 winsock을 사용하여 네트워킹을 할 경우,컴파일 타임에는 문제가 없으나 링크시점에서 winsock관련 함수를의 정의를 찾을 수 없다는 에러 메시지가 출력된다. 해결 방법 :빌드 옵션에 libws2_32.a를 추가시켜준다. 기타 :사용하는 IDE/컴파일러 에 따라 라이브러리를 추가하는 방법은 각기 다르므로 그에 맞는 처리가 팔요하다.QT를 예로 들면 *.pro 파일에 다음 라인을 추라하여 준다.LIBS += C:\Qt\2010.05\mingw\lib\libws2_32.a
일반목적의 레지스터l EAX : Accumulator (함수의 return value로 사용)l EBX : Points to data in DSl ECX : Countingl EDX : I/O pointerl ESI : Source ptr for stringsl EDI : Destination ptr fro strings 특수한 목적의 레지스터l ESP : Stack pointer (현재 thread stack의 top 위치를 가리키는 pointer)l EBP : Points to data on stack (stack frame을 구성하는데 사용)l EIP : Instruction pointer(다음에 CPU에서 실행되어야 할 instruction을 가리킴) EFLAGS 레지스터l Status Flags..
1. 디지털튜너의동작원리: http://blog.naver.com/windheim/900389112882. CAS 동작원리: http://blog.naver.com/windheim?Redirect=Log&logNo=900708568703. Zapping , PVR 녹화/재생: http://blog.naver.com/windheim/900715768144. DSMCC : http://blog.naver.com/windheim/900698009595. DiSEqC : http://blog.naver.com/windheim/90093357211
'Pytthon embeddeding : 파이썬을 c언어에 내장하기 작업일지 1 - 모듈사용' 에 이어 이번에는 C,C++에서 직접 파이썬 모듈을 로드하여 전달인자와 함께 호출하고 리턴값을 받아오는 과정을 진행합니다. 이번에도 마찬가지로 제가 겪는 시행 착오와 이를 풀어가는 과정을 기록하겠습니다. 컴파일 옵션궁금하다면 이전 게시물을 참고하면 됩니다. 다음의 사이트에 소스 및 자세한 설명이 있으며 여기에서는 해당 사이트만 참고해서는 제대로 동작하지 않는 부분을 해결하는 과정만을 다룹니다. http://docs.python.org/extending/embedding.html 1. C에서 파이선모듈을 전달인자와 함께 호출하여 리턴값을 받는 과정에 대해 열심히 공부한다음, 코드들을 각각 main.c multip..