메뉴 건너뛰기

OBG

Programming

조회 수 726 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

윈도우 프로그래밍을 하는 경우 필요한 헤더파일이나 상수들은 stdafx.h에 정의되어 있기 때문에 이를 include해야 컴파일된다.

컴파일 타임에 stdafx.h를 직접 include하여 object파일을 생성할 수도 있으나 프로젝트 옵션에서 미리 컴파일된 헤더 사용 체크 후 컴파일하면 stdafx.h와 관련된 컴파일 타임을 줄일 수 있다. 이를 설정하려면


1. stdafx.cpp 생성 후 #include "stdafx.h" 만 입력한다.

2. stdafx.cpp 파일 선택 후 속성 - C/C++ - 미리 컴파일된 헤더 페이지로 이동한다.

3. 미리 컴파일된 헤더 만들기/사용 옵션을 미리 컴파일된 헤더 만들기(/Yc) 로 설정한다.

4. stdafx.cpp를 컴파일한다.

5. 프로젝트의 속성 - C/C++ - 미리 컴파일된 헤더 페이지로 이동한다.

6. 미리 컴파일된 헤더 만들기/사용 옵션을 미리 컴파일된 헤더 사용(/Yu) 로 설정한다.

7. 프로젝트를 컴파일한다.

?

  1. Programming 게시판 관련

    Date2014.11.01 CategoryTool/etc ByMoA Views1945
    read more
  2. VC++6.0 에서 VC++ 2005로 변환할 경우 형변환 경고 대응방법

    Date2013.07.28 CategoryAPI/MFC ByMoA Views636
    Read More
  3. Using Machine Learning to Predict Customers’ Next Purchase Day

    Date2024.02.27 CategoryDeeplearning ByOBG Views50
    Read More
  4. UpdateWindow 함수에 대하여..

    Date2013.07.25 CategoryAPI/MFC ByMoA Views480
    Read More
  5. UpdateDialogControls

    Date2013.09.05 CategoryAPI/MFC ByMoA Views819
    Read More
  6. UpdateData(TRUE) or UpdateData(FALSE) 구분

    Date2013.07.28 CategoryAPI/MFC ByMoA Views455
    Read More
  7. unsigned char <-> 유니코드(unicode) 및, string 변환 매크로 - USES_CONVERSION

    Date2013.07.28 CategoryAPI/MFC ByMoA Views1355
    Read More
  8. UI Guidelines

    Date2014.03.11 CategoryTool/etc ByMoA Views534
    Read More
  9. Top 3 most used Pytorch Ecosystem Libraries you should Know about

    Date2023.08.02 CategoryDeeplearning ByOBG Views103
    Read More
  10. Thread와 SendMessage를 통해 DeadLock을 만드는 방법

    Date2013.07.28 CategoryAPI/MFC ByMoA Views2628
    Read More
  11. Thread에서 Dialog의 UpdateData()사용하는 방법

    Date2011.09.26 CategoryAPI/MFC By너울 Views1133
    Read More
  12. Thread Programming

    Date2012.08.02 CategoryAPI/MFC ByNaya Views602
    Read More
  13. The State of AI & Art 2022

    Date2022.10.06 CategoryDeeplearning ByOBG Views150
    Read More
  14. The difference between quantization methods for the same bits

    Date2024.04.14 CategoryLLM ByOBG Views49
    Read More
  15. Synology: Top Best Apps For Docker

    Date2024.07.01 CategoryTool/etc ByOBG Views23
    Read More
  16. stdafx.h 사용 (미리 컴파일된 헤더)

    Date2012.08.13 CategoryAPI/MFC ByNaya Views726
    Read More
  17. Start Something! - Windows 8 개발 공식 사이트

    Date2012.08.02 CategorySite ByNaya Views261
    Read More
  18. Stable Diffusion

    Date2022.09.27 CategoryDeeplearning ByOBG Views161
    Read More
  19. SSH-Tunneling을 통한 MySQL 서버 연결

    Date2023.04.21 Category서버 ByOBG Views150
    Read More
  20. Sleep() 함수 대신 프로그램 딜레이 시키기 (Wait)

    Date2013.07.28 CategoryAPI/MFC ByMoA Views4765
    Read More
  21. Simplified Logger Class

    Date2013.07.28 CategoryC/C++ ByMoA Views435
    Read More
Board Pagination Prev 1 ... 2 3 4 5 6 7 8 9 10 ... 15 Next
/ 15
위로