본문 바로가기

Programming123

error LNK2005: xxxx 이(가) msvcprtd.lib(MSVCP80D.dll)에 이미 정의되어 있습니다. 각 프로젝트 별로 "런타임 라이브러리" 형식을 모두 맞춰야 한다. 한가지라도 틀리게 되면 연관된 모든 라이브러리가 링킹 에러를 내뱉게 된다. Visual C++ : 솔루션 탐색기에서 프로젝트 선택 -> 마우스 우클릭 후 '속성' -> 구성 속성 -> C/C++ -> 코드생성 -> 런타임 라이브러리 의 값을 하나의 값으로 모두 통일함( 다중스레드 디버그(/MTd) 나 다중쓰레드 디버그DLL(/MDd) ) Error Pattern 오류404error LNK2005: "public: bool __cdecl std::ios_base::fail(void)const " (?fail@ios_base@std@@QEBA_NXZ)이(가) msvcprtd.lib(MSVCP80D.dll)에 이미 정의되어 있습니다. 오류405.. 2012. 8. 25.
list-style 이 안먹을 때 css 설정에서 해당 tag의 list-style-position 속성이 inside 로 되어 있는지 확인한다. (ex) dl,ul,ol,menu,li { list-style-position:inside; } 2012. 7. 23.
[Python] Power User 파이선 공부중 짧으면서 강력했던 기법들을 하나씩 정리해 보려 한다. Assign each item in array into multiple variables (Warning : the size of array must be the same as the number of variables) firstParam, secondParam, ThirdParam = argv 2012. 7. 21.
[python] isVowel() and getVowelCount() 영어 형태소 분석기를 작성하면서 사용하는 스크립트 코드중, 영어 모음인지 체크하는 코드와, 모음 개수 판단하는 스크립트 코드를 간략하게 만들어 공개해본다. def isVowel(char): vowels = ['a', 'e', 'i', 'o', 'u'] if (char.lower() in vowels): return True return False def getVowelCount(inputStr): count = 0 isPrevCharVowel = False for i in inputStr: if isVowel(i): if isPrevCharVowel is False: count += 1 isPrevCharVowel = True else: isPrevCharVowel = False if ( inputStr.. 2011. 8. 29.