asdf
asdf234234
ad
fas
df
a
 
by 멋진하루 | 2006/12/29 17:56 | 트랙백 | 덧글(3)
이름없는 폴더 삭제하기
이름없는 폴더 삭제하기
먼저 해당 폴더에가서 dir/x 를 실행하면 이름없는 폴더의 도스명칭이 나온다.
여기서 rmdir /s 도스명칭 을 눌르면 삭제된다.
by 멋진하루 | 2006/06/22 09:21 | 트랙백 | 덧글(0)
SingletonHolder
출처 : http://www.devpia.com/Forum/BoardView.aspx?no=7235&forumname=vc_lec
template <class T, class LockModel>
class SingletonHolder : public LockModel
{
public:
static T* instance() {
if (pthis_ == 0) {
Lock lk; lk;
if (pthis_ == 0) {
pthis_ = new T;
}
}
    return pthis_;
}
  
private:
SingletonHolder();
~SingletonHolder();
SingletonHolder(const SingletonHolder& );
SingletonHolder& operator=(const SingletonHolder& );

  static T* pthis_;
};

template <class T, class LockModel>
T* SingletonHolder<T, LockModel>::pthis_;

 
by 멋진하루 | 2005/11/22 09:08 | 트랙백 | 덧글(0)
Grep...기능
윈도우에서 하위 폴더에 있는 TEXT까지 특정 문장을 치환해지고 싶을때가 있다..
분명히..

리눅스에선 쉴기본명령어로 쉽사리 되는걸... 윈도우는 지원하지 않는다.....(내가 알기론...)
그래서..이거저곳 돌아다니면서 40분만에 찾았다...-.-
역시..goooole루...

http://www.snapfiles.com/get/texrep.html
by 멋진하루 | 2005/07/01 13:48 | programming | 트랙백 | 덧글(0)
빌게이츠가 했던 말...

1. 인생이란 원래 공평하지 못하다.
그런 현실에 대하여 불평할 생각하지 말고 받아들여라.

2. 세상은 네 자신이 어떻게 생각하든 상관하지 않는 다.
세상이 너희들한테 기대하는 것은 네가 스스로 만족하다고 느끼기 전에
무엇인가를 성취해서 보여줄 것을 기다리고 있다.

3. 대학교육을 받지 않는 상태에서
연봉이 4만 달러가 될 것이라고는 상상도하지 말라.

4. 학교선생님이 까다롭다고 생각되거든
사회 나와서 직장 상사 의 진짜 까다로운 맛을 한번 느껴봐라.

5. 햄버거 가게에서 일하는 것을 수치스럽게 생각하지 마라.
너희 할아버지는 그 일을 기회라고 생각하였다.

6. 네 인생을 네가 망치고 있으면서 부모 탓을 하지 마라.
불평만 일삼을 것이 아니라 잘못한 것에서 교훈을 얻어라.

7. 학교는 승자나 패자를 뚜렷이 가리지 않을 지 모른다.
어떤 학교에서는 낙제제도를 아예 없애고 쉽게 가르치고 있다는것을 잘 안다.
그러나 사회 현실은 이와 다르다는 것을 명심하라.

8. 인생은 학기처럼 구분되어 있지도 않고
여름 방학이란 것은 아예 있지도 않다.
네가 스스로 알아서 하지 않으면 직장에서는 가르쳐주지 않는다.

9.TV는 현실이 아니다.
현실에서는 커피를 마셨으면 일을 시작하는 것이 옳다.

10.공부 밖에 할 줄 모르는 "바보" 한테 잘 보여라.
사회 나온 다음에는 아마 그 "바보" 밑에서 일하게 될지 모른다.
..............................

[펌] cafe.daum.net/CSTUDY
by 멋진하루 | 2005/04/16 09:56 | programming | 트랙백 | 덧글(1)
우잇..Link2001에러..
에휴.. 이거때문에 엄청 고생했다.
Link2001에러란 이런 형태의 에러를 말한다.
이런 에러가 나온건.. CRT때문이라고 그러는데.. ATL이나 MFC를 사용하게되면
msvcrtd에서 이미 선언되었기때문에 그런거란다...

해결방법은 간단하다...
Project Setting에가서 Link탭에 Input으로 가면 ignore에가서
LIBCMT.lib만 넣어주면된다...

자세한건.. msdn에서 link2001로 쳐보면..안다... 후후...(3시간 고생했다....)

----------------------------------------------------------------------------
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrtd.lib(MSVCRTD.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit already defined in msvcrtd.lib(MSVCRTD.dll)
LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in msvcrtd.lib(MSVCRTD.dll)
LIBCMT.lib(atox.obj) : error LNK2005: _atoi already defined in msvcrtd.lib(MSVCRTD.dll)
LIBCMT.lib(getenv.obj) : error LNK2005: _getenv already defined in msvcrtd.lib(MSVCRTD.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in msvcrtd.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in msvcrtd.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in msvcrtd.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in msvcrtd.lib(cinitexe.obj)
LIBCMT.lib(strcat.obj) : error LNK2005: _strcpy already defined in msvcrtd.lib(MSVCRTD.dll)
msvcrtd.lib(MSVCRTD.dll) : error LNK2005: __strdup already defined in LIBCMT.lib(strdup.obj)
msvcrtd.lib(MSVCRTD.dll) : error LNK2005: __setmbcp already defined in LIBCMT.lib(mbctype.obj)
LIBCMT.lib(crt0dat.obj) : warning LNK4006: _exit already defined in msvcrtd.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: __exit already defined in msvcrtd.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(winxfltr.obj) : warning LNK4006: __XcptFilter already defined in msvcrtd.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(atox.obj) : warning LNK4006: _atoi already defined in msvcrtd.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(getenv.obj) : warning LNK4006: _getenv already defined in msvcrtd.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in msvcrtd.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in msvcrtd.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in msvcrtd.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in msvcrtd.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(strcat.obj) : warning LNK4006: _strcpy already defined in msvcrtd.lib(MSVCRTD.dll); second definition ignored
msvcrtd.lib(MSVCRTD.dll) : warning LNK4006: __strdup already defined in LIBCMT.lib(strdup.obj); second definition ignored
msvcrtd.lib(MSVCRTD.dll) : warning LNK4006: __setmbcp already defined in LIBCMT.lib(mbctype.obj); second definition ignored
Creating library Debug/RealImageConvert.lib and object Debug/RealImageConvert.exp
LINK : warning LNK4098: defaultlib "msvcrtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/RealImageConvert.exe : fatal error LNK1120: 1 unresolved externals
by 멋진하루 | 2005/03/10 09:03 | 트랙백 | 덧글(0)
XMLHTTP.. 유용할것 같다.
XMLHTTP란?

Short for Extensible Markup Language Hypertext Transfer Protocol, a set of APIs that enables XML, HTML or binary data to be transmitted to and from Web servers over the Internet using HTTP. An advantage of XMLHTTP is that when files that are ASPs or CGI programs are queried from the server, the XMLHTTP object continuously queries the server transparently to retrieve the latest information without the user having to repeatedly refresh the browser. XMLHTTP enables streamed content through DHMTL rather than ActiveX controls or Java applets


XMLHTTP를 이용한 페이지
http://www.nalbam.com/dic.php

강좌
http://www.devarticles.com/c/a/ASP/The-Power-of-the-XMLHTTP-Library/
by 멋진하루 | 2004/12/14 09:34 | programming | 트랙백 | 덧글(0)
< 이전페이지 다음페이지 >
rss

skin by 이글루스