undefined

    Singleton pattern에서 이상한 부분 발견!

    Singleton pattern에서 이상한 부분 발견!

    1. error를 발견했는데. error가 static으로 선언된 변수를 못찾아서 나오는 문제였습니다. 도통 이유를 알 수 없어서 이리 저리 헤매다가 어느 사이트를 찾았습니다. http://developer.nokia.com/community/discussion/showthread.php/213834-Singleton-implementation-undefined-reference 근데 이류를 모르겠네요...private로 선언한 변수를 어떻게 저런 방식으로 사용하지?어마무시하게 헷갈리네요;;내일 이유를 어쭤보고 알아봐야겠습니다. 2. error code undefined reference to `xxx::s_xxxx' 3. 다시 재현해서 기록해보기록 했습니다. 코드는 아래와 같습니다. #ifndef SI..

    [curl] compile 방법

    http://www.joinc.co.kr/modules/moniwiki//wiki.php/Site/Web/documents/UsedCurl http://stackoverflow.com/questions/16476196/undefined-reference-to-curl-global-init-curl-easy-init-and-other-functionc I am trying to use Curl in C. I visited Curl official page, and copied sample source code. below is the link: http://curl.haxx.se/libcurl/c/sepheaders.html when I run this code with command "gcc test.c..