1>------ Build started: Project: strtok(2), Configuration: Debug Win32 ------
1> Source.cpp
1>c:\users\--\documents\visual studio 2013\projects\strtok(2)\strtok(2)\source.cpp(10): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 12.0\vc\include\stdio.h(211) : see declaration of 'fopen'
1>c:\users\--\documents\visual studio 2013\projects\strtok(2)\strtok(2)\source.cpp(28): error C2082: redefinition of formal parameter 'h'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
보안 어쩌고 체크 해제는 했는데
redefinition of formal parameter 'h' 이게 무슨소리지 ..?
fopen은 fopen_s로 고치시란 엠스님의 말씀이십니다.
ㄴ프로젝트 만들때 Security Development Lifecycle (SDL) checks 이거 체크 해제하면 안되요?
strtok 첫번째 변수가 이중포인터 타잎이던가..?
그보다 변수명 제발 4자 이상 되는 단어로 씁시다
ㄴ filepointerofaddressoffopensfirstparameter 이렇게요?
FilePointerOfAddressOffopensFirstParameter
훌륭하네요
감사합니다