• ISO C++14 Standard (/std:c++14)
  • ISO C++17 Standard (/std:c++17)
  • The latest draft standard (/std:c++latest) - 최신 적용되고 있는 버전.


출력창 한글 깨짐 문제는  "PYTHONIOENCODING":"utf-8"을 추가하면 해결됩니다




.vscode/tasks.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
   // See https://go.microsoft.com/fwlink/?LinkId=733558
   // for the documentation about the tasks.json format
   "version": "0.1.0",
   "tasks": [
       {
           "taskName": "echo",
           "command": "python",
           //"type": "shell",
           "isShellCommand": true,
           "isBuildCommand": true,
           "args": ["${file}"],
           "showOutput": "always",
           "options": {
               "env": {
               "PYTHONIOENCODING":"utf-8"
               }
           }
       }
   ]
}



- 위 그림에서 표시한 헤더파일과 라이브러리 파일을 수정하기 위해서는 

   메뉴[뷰] 보고-> Property Manager 항목을 클릭하면, 아래 그림같이 관리자가활성화 되는데, 여기서, 프로젝트 [x86/x64]타입에 따라, 아래 경로에 있는 파일을 찾아 편집하면 된다.

   

  x86 : C:\Users\사용자이름\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.win32.user.props

  x64 :  C:\Users\사용자이름\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.x64.user.props


   

 - 편집이 완료되면, 프로젝트를 종료하고 다시 오픈한다.



targetver.h 헤더 파일을 아래처럼 사용할 버전을 명시하면 된다.



//최소 버전을 아래와 같이 정의를 내려면 된다. 아래값은 windows 7 를 선언한 것으로, 최소사양이 win 7 이 되는 것이다.

#define _WIN32_WINNT 0x0601   


#include <SDKDDKVer.h>   

+ Recent posts