Xcode에서 bits/stdc++.h 사용하기

떵호·2022년 1월 18일
0

Xcode bits/stdc++.h 적용

  1. 터미널 창에 아래와 같이 입력
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1
  1. bits 디렉터리 생성하고 이동
$ mkdir bits && cd ./bits
  1. 밑에 링크를 들어가서 내용을 복사하고 "stdc++.h"를 생성한 후 붙여넣음
$ touch stdc++.h

https://gist.github.com/frankchen0130/9ac562b55fa7e03689bca30d0e52b0e5

📍 Xcode를 업데이트하면 위 과정을 진행해야 한다.

profile
꾸준히 해보자❗️

0개의 댓글