VS2008 + winpcap 설정 방법VS2008 + winpcap 설정 방법

Posted at 2010. 11. 12. 00:00 | Posted in Computer/Visual Studio

//

VS2008에서의 stricmp 문제VS2008에서의 stricmp 문제

Posted at 2010. 11. 11. 20:17 | Posted in Computer/Visual Studio

대소문자를 구분하지 않고 두 문자열을 비교하기 위해 stricmp() 함수를 사용할 수 있다. 하지만 VS2008에서 이 함수를 쓰면 오류가 발생한다.

'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.

stricmp() 함수는 POSIX 함수이고 표준 C90 함수가 아니라고 한다. 프로그래밍언어론에서 배웠듯 C90 이면 1990년에 정의된 표준C 를 말 할 것이다. 그렇게 때문에 _stricmp() 함수를 사용하라고 권장하고 있다.

stricmp() 함수를 _stricmp()로 변경해 주면 오류 없이 수행한다.
//

Setting environment for using Microsoft Visual Studio 2008 x86 tools.Setting environment for using Microsoft Visual Studio 2008 x86 tools.

Posted at 2010. 11. 2. 12:42 | Posted in Computer/Visual Studio
Visual Studio 2008 에서 환경 변수를 설정하는 방법이다.

C:\>Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat

'Computer > Visual Studio' 카테고리의 다른 글

VS2008 + winpcap 설정 방법  (0) 2010.11.12
VS2008에서의 stricmp 문제  (0) 2010.11.11
//