[C++] cppcheck (win) http://www.swbank.kr/html/tools/toolsFile/Cppcheck_04_howInstall.pdf tool 설치 후 아래 설정 1. Visual Studio2013 visual studio -> 도구(메뉴) -> 외부 도구 -> 추가 제목 : cppcheck명령 : C:\Program Files (x86)\Cppcheck\cppcheckgui.exe인수 : -j 8 --enable=warning,style,performance,portability,information --std=c++11 --inline-suppr --quiet --template=vs $(ItemPath)초기 디렉터리 : $(ItemDir) 실행은도구 -> cppcheck 2. QT 5.1.1 qt -> To.. 더보기 [Ruby] assert 함수 만들기 _ 주어진 조건 확인 def assert(actual, expected)if(actual == expected)puts "."elseputs "failed. expected = #{expected} but actual = #{actual}"end end assert(1, 2)assert(2, 3)assert(2, 2) 더보기 [Linux] 리눅스 터미널에서 symbolic link 만들기 터미널에서 작업을 하다가 어플리케이션을 켜야할 때가 있다. 이 때 아이콘을 찾아 클릭하지 말고 명령어로 열 수 가 있다. 그냥 바로가기 아이콘을 만들 듯이 실행 명령어를 만드는 것이다. 1. 일단 실행 파일이 있는 어플리케이션의 위치를 알아야한다.mac을 사용할 때 sublime을 예로 들어보자위치는 /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl 2. 터미널에 명령어를 쓰자 sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/bin/subl subl 과 /usr 사이가 뛰어져 있음에 주의 하자 즉ln => link-s => 심볼릭 링크앞.. 더보기 이전 1 ··· 7 8 9 10 11 다음