메뉴 건너뛰기

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 Views1947
    read more
  2. Real-Time Stock News Sentiment Prediction with Python

    Date2024.04.11 CategoryLLM ByOBG Views51
    Read More
  3. Redmine 설치

    Date2013.07.28 CategoryTool/etc ByMoA Views421
    Read More
  4. Reinforcement Learning for Dynamic Pricing Suggestion

    Date2023.04.01 CategoryDeeplearning ByOBG Views139
    Read More
  5. RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED ...

    Date2022.09.06 CategoryDeeplearning ByOBG Views197
    Read More
  6. SciPy and NumPy

    Date2013.12.23 CategoryPython ByMoA Views621
    Read More
  7. Serial Communication in MFC

    Date2011.08.25 CategoryAPI/MFC By너울 Views850
    Read More
  8. Simple Add-On Wait Dialog in MFC

    Date2013.11.21 CategoryAPI/MFC ByMoA Views437
    Read More
  9. Simplified Logger Class

    Date2013.07.28 CategoryC/C++ ByMoA Views435
    Read More
  10. Sleep() 함수 대신 프로그램 딜레이 시키기 (Wait)

    Date2013.07.28 CategoryAPI/MFC ByMoA Views4765
    Read More
  11. SSH-Tunneling을 통한 MySQL 서버 연결

    Date2023.04.21 Category서버 ByOBG Views150
    Read More
  12. Stable Diffusion

    Date2022.09.27 CategoryDeeplearning ByOBG Views161
    Read More
  13. Start Something! - Windows 8 개발 공식 사이트

    Date2012.08.02 CategorySite ByNaya Views261
    Read More
  14. stdafx.h 사용 (미리 컴파일된 헤더)

    Date2012.08.13 CategoryAPI/MFC ByNaya Views726
    Read More
  15. Synology: Top Best Apps For Docker

    Date2024.07.01 CategoryTool/etc ByOBG Views23
    Read More
  16. The difference between quantization methods for the same bits

    Date2024.04.14 CategoryLLM ByOBG Views49
    Read More
  17. The State of AI & Art 2022

    Date2022.10.06 CategoryDeeplearning ByOBG Views150
    Read More
  18. Thread Programming

    Date2012.08.02 CategoryAPI/MFC ByNaya Views602
    Read More
  19. Thread에서 Dialog의 UpdateData()사용하는 방법

    Date2011.09.26 CategoryAPI/MFC By너울 Views1134
    Read More
  20. Thread와 SendMessage를 통해 DeadLock을 만드는 방법

    Date2013.07.28 CategoryAPI/MFC ByMoA Views2628
    Read More
  21. Top 3 most used Pytorch Ecosystem Libraries you should Know about

    Date2023.08.02 CategoryDeeplearning ByOBG Views103
    Read More
Board Pagination Prev 1 ... 4 5 6 7 8 9 10 11 12 13 ... 15 Next
/ 15
위로