티스토리 툴바


Memex

과학탐구영역 2012/01/29 05:51 Posted by 잠티스토리 김상욱
Memex
From Wikipedia, the free encyclopedia 


The memex (a portmanteau of "memory" and "index")[1] is the name given by Vannevar Bush to the hypothetical proto-hypertext system he described in his 1945 The Atlantic Monthly article As We May Think (AWMT). Bush envisioned the memex as a device in which individuals would compress and store all of their books, records, and communications, "mechanized so that it may be consulted with exceeding speed and flexibility". The memex would provide an "enlarged intimate supplement to one's memory".[2] The concept of the memex influenced the development of early hypertext systems (eventually leading to the creation of the World Wide Web) and personal knowledge base software.[3]

Wikipedia.org 

Detected memory leaks!

언어영역/프로그램어 2012/01/26 01:05 Posted by 잠티스토리 김상욱
Detected memory leaks!
Dumping objects ->
... 
{629} normal block at 0x0011CD40, 40 bytes long.
 Data: <    ` Z         > 00 00 00 00 60 EC 5A 00 00 00 00 00 00 00 00 00 



AfxSetAllocStop(629);
와 같이 블럭 번호를 인자로 AfxSetAllocStop를 걸어놓으면 
(BOOL CFooApp::InitInstance() 안에 라던가)



해당 블럭에 할당을 할 때 브레이크 포인트가 걸려 어디에서 할당한 객체가 해제되지 않은 것인지 알 수 있다. 

 


스택을 따라가보니 통신부에서 누수가 생기나 했더니 웬걸 화면 출력부에서 생성한 폰트를 해제해주지 않아서...

C2850:

언어영역/프로그램어 2012/01/15 00:29 Posted by 잠티스토리 김상욱
\stdafx.cpp(5) : error C2850: 'PCH 헤더 파일' : 파일 범위에서만 사용할 수 있습니다. 중첩된 구문에는 사용할 수 없습니다.

stdafx.h 에 포함된 헤더들 중 클래스 선언 끝에 세미콜론(;)가 빠진 것이 없는지 확인