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

devbible

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

devbible

검색하기 폼
  • 전체보기 (356)
    • Tips (44)
    • News (32)
    • Event (10)
    • Travel (0)
    • Review (2)
    • Development (266)
    • etc (1)
  • 방명록

#include (1)
[C/Cpp] #include <file> vs #include "file"

지시어 #include 와 #include "file" 의 차이점 #include - 시스템 헤더를 include 하는데 사용. - 컴파일러가 미리 정의해놓은 위치에서 파일을 찾음 (ex. /usr/include 또는 Program Files (x86)\Microsoft Visual Studio 12.0\VC\include ) #include "file" - 사용자 헤더를 include 하는데 사용 - 사용자의 소스가 위치한곳 - 사용자의 소스가 위치한곳에 없다면 컴파일러가 미리 정의해놓은 위치에서 다시 찾음 (때문에 이방식을 시스템헤더를 include해도 동작은 하지만 #include 로 사용해야 맞음) 아래는 Include Syntax에 대한 설명 https://gcc.gnu.org/onlinedoc..

Development 2017. 4. 3. 02:08
이전 1 다음
이전 다음
최근에 올라온 글
글 보관함
Total
Today
Yesterday
TAG
  • dotnet
  • KitKat
  • 이벤트
  • Shell
  • MySQL
  • Spring
  • CentOS
  • Eclipse
  • 티스토리 초대장
  • vcruntime140.dll
  • SharedPreferences
  • JavaScript
  • ubuntu
  • android
  • MSSQL
  • Visual Studio 2015
  • 게임쿠폰
  • Linux
  • Collections
  • vcamp140.dll
  • 쿠폰
  • 게임
  • dpi
  • vcomp140.dll
  • WSL
  • VisualStudio
  • svn
  • redis
  • ListView
  • Java
more

Blog is powered by Tistory / Designed by Tistory

티스토리툴바