- 이클립스(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
#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..
// 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..
int& refInt = *(new int); cout
- Total
- Today
- Yesterday
- pandas
- Python
- structure
- 설치
- TensorBoard
- Visual C++
- GSX 1000 pro
- dll
- armadillo c++
- CanDrA
- C++
- destructor
- volume dial
- PyQt
- 볼륨 조절
- tensorflow
- matrix multiplication
- how to solve it
- 볼륨 낮춤
- GSX 1200 pro
- MSVC++
- Item 9
- QPrinter.Letter
- cython
- 이상한 문자
- TCGA
- Accelerated C++
- QT
- ctypes
- QPrinter.A4
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |