본문 바로가기 메뉴 바로가기

BIBLIOTHEQUE

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

BIBLIOTHEQUE

검색하기 폼
  • 분류 전체보기 (60)
    • Articles (1)
    • 공부 일지 (0)
    • 공부 계획 (0)
    • Development Environment (7)
    • System Management (6)
      • Management Diary (4)
    • Build System (0)
    • Computer Science (1)
      • Graphics (1)
    • C & C++ (6)
      • Native C++ (3)
      • MS VC++ (2)
      • Eclipse CDT (1)
    • D programming language (1)
      • dmd (1)
    • Python (20)
      • 문제 해결 (7)
      • 요리 방법 (13)
    • Reading Books (10)
      • Accelerated C++ (6)
      • More Effective C++ (1)
      • Effective STL (0)
      • Effective Series (3)
    • Mathematics (0)
    • Cancer (0)
    • 티스토리 관리 (3)
      • 프로그래밍 관련 (2)
      • 디자인 관련 (0)
    • Projects (1)
    • Linux anything (2)
    • Windows anything (1)
  • 방명록

C & C++ (6)
이클립스(Eclipse)에서 헤더파일 수정 사항이 반영이 안 되는 경우

- 이클립스(Eclipse)에서 컴파일 하면 "cannot be resolved"와 같은 에러가 발생하지만, 터미널에서 (make 명령어로) 직접 컴파일 하면 문제 없이 컴파일이 되는 황당한 상황. - Window -> Preferences -> C/C++ -> Indexer 에서 문제가 되는 헤더파일을 "Files to index up-front" 항목에 추가한다. - 아니면 "Index source and header files opened in editor" 등의 여러 옵션을 조절해 본다. - 핵심은, 이 문제가 이클립스의 Indexing 문제 때문에 발생한다는 것이다. - http://www.eclipse.org/forums/index.php/m/733997/#msg_733997

C & C++/Eclipse CDT 2011. 10. 8. 23:25
Time Measurer with <windows.h>

#ifndef DW_TIMEMSR__H__ #define DW_TIMEMSR__H__ #include namespace DW { class TimeMsr { public: // LARGE_INTEGER.QuadPart is LONGLONG(a.k.a __int64) LARGE_INTEGER larBegin; LARGE_INTEGER larEnd; static LARGE_INTEGER larFrequency; public: TimeMsr() { if (larFrequency.QuadPart == 0) // if the value of frequency is not loaded QueryPerformanceFrequency(&larFrequency); // retrieves the frequency of t..

C & C++/MS VC++ 2009. 11. 28. 16:27
MSVC++로 Dll 파일 제작 - 소스코드 기본틀

// MyDll.h #ifndef DW_MYDLL__H__ #define DW_MYDLL__H__ #if !defined(MYLIBAPI) #define MYLIBAPI extern "C" __declspec(dllimport) #endif // 위 매크로는 dll을 이용하는 소스코드(실행 모듈)에서 적용된다. // dll 제작에 사용되는 소스코드에서는 MYLIBAPI를 dllexport로 정의하게 된다. MYLIBAPI int result; MYLIBAPI int add(int a, int b); MYLIBAPI void printResult(); #endif // DW_MYDLL__H__ // MyDll.cpp #include using namespace std; #define MYLIBAPI ext..

C & C++/MS VC++ 2009. 11. 5. 00:45
랜덤으로 숫자 얻기 ; plain random number generating routine

#include #include #include using namespace std; // plain random number generating routine int main() { srand((unsigned)time(NULL)); // seeding cout

C & C++/Native C++ 2009. 9. 30. 23:18
잊지 말아야 할 당연한 것들

- template class의 멤버 함수 정의는 헤더파일에서 한다. (export 키워드를 이용해서 *.cpp 파일에서도 정의가 가능하긴 하다.) - static 멤버 변수에 대한 전역 선언을 잊어서는 안 된다. class Class { static int staticMember; } int Class::staticMember; // 반드시 이렇게 다시 한번 선언해야 바인딩된다.

C & C++/Native C++ 2009. 9. 7. 20:34
포인터, 레퍼런스 가지고 장난치기

int& refInt = *(new int); cout

C & C++/Native C++ 2009. 7. 26. 19:07
이전 1 다음
이전 다음
공지사항
  • TISTORY에 보금자리를 열다
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • Devpia VC++
  • Native C++ Reference
  • MT random number
  • Game Codi
  • Summary of MEC++
  • Chopin Musics
  • Combinatorial Algorithms
  • Icon Format Conversion
  • Vi/Vim 명령어
TAG
  • MSVC++
  • 볼륨 조절
  • how to solve it
  • matrix multiplication
  • 볼륨 낮춤
  • dll
  • QPrinter.A4
  • GSX 1200 pro
  • pandas
  • 이상한 문자
  • CanDrA
  • structure
  • Accelerated C++
  • armadillo c++
  • Visual C++
  • C++
  • GSX 1000 pro
  • QPrinter.Letter
  • Python
  • 설치
  • volume dial
  • destructor
  • cython
  • tensorflow
  • PyQt
  • TensorBoard
  • QT
  • TCGA
  • ctypes
  • Item 9
more
«   2025/07   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바