https://polarcompass.tistory.com/12
[MacOS / AppleSilicon] 맥북 M1 VSCODE C 설정 환경 설정 개발환경 세팅 AppleSilicon
1. VSCODE 다운로드 - mac OS 환경 및 M1 이라면 Apple Silicon 버전 다운로드. 직접 다운로드 https://code.visualstudio.com/#alt-downloads Visual Studio Code - Code Editing. Redefined Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. code.visualstudio.com b..
polarcompass.tistory.com
이거 보고 따라하는데 뭐가 문제임?? 6번 까지 했는데 msg가 오류남;;
생긴걸 봐서는 컴파일러에 파라미터가 제대로 안 넘겨진 것 같은데? 컨트롤 쉬프트 B로 실행한 거 맞음?
커맨드 쉬프트 b아님?
생각해보니 맥이라서 그게 맞네
안되던데 ㅠㅠ
빨간 밑줄은 오타라는 뜻임
까막눈인거 같은데 유니폼 초기화 하지말고 걍 복사 초기화 해라
오류나는 이유는 저게 초기화 리스트 문법이고 C++11 문법인데 지금 컴파일러는 C++03을 사용하고 있어서 그런 걸로 보임
그거 설명해도 못알아 들을거 같아서 걍 = 로 초기화하라는 소리였는데 변수 선언 고쳐도 포문도 안돌겠네ㅋㅋ
디버깅할 거 아니면 그냥 터미널에서 makefile만들어서 컴파일하는 게 속 편함