일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Data Structure
- c# 추상 클래스
- 도커
- Algorithm
- docker
- github
- 플러터
- 구조체
- c# 윈폼
- C++
- Flutter
- Unity
- Python
- gitlab
- 깃
- c#
- c언어
- HTML
- 유니티
- 다트 언어
- jupyter
- c# winform
- 포인터
- C# delegate
- git
- jupyter lab
- Houdini
- vim
- C언어 포인터
- dart 언어
Archives
- Today
- Total
목록visual studio error (1)
nomad-programmer
[Programming/Errors] scanf: This function or variable may be unsafe. 오류
visual studio에서 scanf 혹은 printf, getchar 등 함수를 쓰게되면 안전하지 않다는 오류가 발생한다. 이 오류는 쓰고 있는 함수들이 버퍼 오버플로우라는 위험을 가지고 있는 함수라 강력하게 제제하는 오류이다. 그래서 scanf함수는 scanf_s함수로, printf함수는 printf_s함수로 변경하여 사용하라는 메시지이다. 이 메시지를 비활성화하려면 아래와 같은 명령을 파일 최상단에 쓰면 된다. // 4996은 오류 메시지의 번호다. #pragma warning(disable: 4996)
Programming/Errors
2020. 6. 14. 15:02