Andrew's Garage

Shrunk Expand

Primary Navigation

← Older posts
  • Category Archives C/C++
  • 비공개 » 참고를 위한 저장물 » C/C++C/C++ » cmake/make
  • How to install POCO C++ libraries on Windows with Visual studio 2015

    1.  Download Poco Libraries  ( http://pocoproject.org/download/index.html ) 2. Extract(eg: extract to C:poco-1.6.1) 2-1. if you are choices  included openssl version please openssl install on your win…


    Continue reading → Post ID 950

    Posted on 2015-08-26 5:46 PM by andrew 2 Comments
    C/C++ MFC & WINDOWS 기술 기술자료
  • CMAKE compile options and etc options

    cmake -G “Unix Makefiles” -DCMAKE_INSTALL_PREFIX=`pwd`/install -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_C_COMPILER=`xcrun -f clang` -DCMAKE_CXX_COMPILER=`xcrun -f clang++` -DwxWidgets_CONFIG_…


    Continue reading → Post ID 890

    Posted on 2015-06-11 7:45 PM by andrew Comment
    C/C++ cmake/make
  • tip for auto_ptr with C++

    1. how to test whether auto_pointer is null? if (!myPointer.get()) { // do not dereference here } 2. how to pass auto_pointer ? std::auto_ptr<class>  ptr_class = std::auto_ptr( new class );


    Continue reading → Post ID 885

    Posted on 2015-06-10 8:09 PM by andrew Comment
    C/C++
  • how to make debug build on cmake

    cmake -DCMAKE_BUILD_TYPE:STRING=Debug  


    Continue reading → Post ID 883

    Posted on 2015-06-10 8:02 PM by andrew Comment
    cmake/make
  • [C/C++] 소수점 몇째 자리 올림 함수 만들기..

    입력 받은 값에서 소수점 밑  N번째에서 반 올림 하는 함수 만들기.. fabs를 통해서 양수로 변환 하고.. 소수점을 자를 위치 까지 소수점을 옮기고  ( 곱하기  pow(10., n ) ) +0.5를 더한 다음에 다시 소수점을 원복   ( 나누기 pow(10. , n ) ) 그리고 fabs를 통해서 잃어 버린 부호를 부할 ( 곱하기 (h >= 0…


    Continue reading → Post ID 549

    Posted on 2015-01-19 10:19 PM by andrew Comment
    C/C++
  • [펌] __cdecl, __pascal, __stdcall 의 차이에 관한 정리

    함수호출 방식이 __cdecl, __pascal, __stdcall로 여러 가지가 있는 이유는 윈도우즈의 역사성에 있다. 우선 win16에서는 실행파일의 크기가 줄어들고 속도가 빠르다는 이유로 pascall 방식을 사용 했고 win32에서는 가변매개인자를 지원하는 함수를 제외한 모든 함수들은 __stdcall을 사용 한다. 만약 c 방식의 함수호출을 원한다…


    Continue reading → Post ID 505

    Posted on 2014-12-26 4:50 PM by andrew Comment
    C/C++ 참고를 위한 저장물
  • CStirng ↔ char * (Unicode ↔ ANSI)

    ※ Format 지정 가능 (CString → char *) // Static CString strText = _T(“casting test”); char szText[128]; sprintf_s(szText, 128, “%S”, strText); // Using szText… // Dynamic CSt…


    Continue reading → Post ID 441

    Posted on 2014-12-15 9:33 PM by andrew Comment
    C/C++ 참고를 위한 저장물
  • [c++][stl] std::vector Copy 방법

    // copy() 를 이용한 복사   destVector.resize((int)(sourceVector.size())); std::copy( sourceVector.begin(), sourceVector.end(), destVector.begin() ); std::copy( sourceVector.begin() + 2, sourceVector.be…


    Continue reading → Post ID 439

    Posted on 2014-12-15 9:30 PM by andrew Comment
    C/C++ 참고를 위한 저장물
  • [펌] AIX DBX 사용법

    dbx와 core 파일을 분석할때는 다음과 같이 하자.   우선 첫째로 현재 해당 core파일을 생성한 바이너리 부터 확인해보자. file 다음 core 파일을 입력하면 현재 core 파일의 [비트], [생성한 바이너리명] 을 알 수 있다. $> file core core_: AIX core file 64-bit, server   그…


    Continue reading → Post ID 436

    Posted on 2014-12-11 3:30 AM by andrew Comment
    C/C++ 참고를 위한 저장물
  • Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview

    This MSDN thread explains how to fix it. To summarize: Either disable incremental linking, by going to Project Properties -> Configuration Properties -> Linker (General) -> Enable Incremental…


    Continue reading → Post ID 421

    Posted on 2014-11-28 1:27 AM by andrew Comment
    C/C++ MFC & WINDOWS

Posts navigation

1 2 … 8 Next


©2025 boots Entries RSS and Comments RSS Child theme Boots of Raindrops Theme
 

Loading Comments...