Programming 530

warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead.

http://woogyun.tistory.com/200 Visual Studio 2005를 이용하여 파일 입출력을 수행하다가 보니 다음과 같은 경고 메시지가 나왔다. warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 내용을 읽어 보면 fscanf는 안전하지 않으니 fscanf_s를 사용하라는 말이다. 그리고 친절하게도 이 경고를 없애려면 _CRT_SECURE_NO_WARNINGS를 사용하라고 한다. 어떻게 사용하라는 말인가? 컴 파일할..

Programming 2013.12.21

Emacs Lisp 시작하기

0. An Introduction to Programming in Emacs Lisp 이것은 Emacs에도 내장되어 있습니다. (Help -> More Manuals -> Introduction to Emacs Lisp) 1. IELM: Inferior Emacs Lisp Mode IELM은 Emacs Lisp REPL입니다. emacs 실행 후, M-x ielm RET *** Welcome to IELM *** Type (describe-mode) for help. ELISP> (+ 1 2) 3 ELISP> (setq a 3) 3 2. Emacs 시작시 바로 IELM을 띄우고 싶다 shell prompt에서: emacs -f ielm 3. Emacs Lisp script를 shell에서 바로 실행하고 ..

Programming 2013.11.27