<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'stl' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/stl</link>
		<description>stl</description>
		<language>ko</language>
		<pubDate>Wed, 27 Aug 2008 22:40:42 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[vector 연습 CODE]]></title>
	<link>http://daegil.egloos.com/1980952</link>
	<guid>http://daegil.egloos.com/1980952</guid>
	<description>
	<![CDATA[ 
testFunc()의 파라미터를 참조로 넘기지 않아서 삽질을 좀 했다는게 억울한 연습 코드... -_-; ...라서 블로깅...^^; CODE)#include &amp;lt;iostream&amp;gt;  #include &amp;lt;utility&amp;gt;  #include &amp;lt;vector&amp;gt;  #include &amp;lt;algorithm&amp;gt; using namespace std; typedef struct  {      int a;      int b;  } Test1; Test1* testFunc(vector&amp;lt;Test1&amp;gt; &amp;amp;vec); int main(int argc, char **argv)  {      Test1 t1, t2, *tp;     t1.a = 1; t1.b = 11;      t2.a =	]]>
	</description>
	<pubDate>Wed, 27 Aug 2008 22:40:42 +0900</pubDate>
	<dc:creator><![CDATA[For Further Future!]]></dc:creator>
</item>
<item>
	<title><![CDATA[STL을 위한 간단한 변호...(?)]]></title>
	<link>http://Sizuha.egloos.com/3819500</link>
	<guid>http://Sizuha.egloos.com/3819500</guid>
	<description>
	<![CDATA[ 
트랙백: STL에 대한 논란: 아는 만큼 보인다. - object 님      음... 저는 아직도 STL에 대한 논란이 존재한다는 것이 더 놀랍습니다. 개인적으로 C++ 언어 자체는 별로 마음에 안들지만, 그럼에도 불구하고 요즘 C++을 즐겨 사용하는 가장 큰 이유는 바로 STL 때문입니다. 만일 지금의 C++ 에서 STL이 빠져있었더라면 저는 C++에는 눈길도 주기 않았을 겁니다.      STL을 싫어하는 이유 중 하나가 코드가 예쁘게 나오지 않는다는 것도 있다지만, 그건 STL의 설계가 개판이라기 보단 예초에 C++ 언어의 한계입니다. C#이나 요즘의 자바처럼 foreach 문 같은 걸 제공하는 것도 아닌 환경에서 iterator를 깔끔하게 쓰는 것도 쉽지가 않습니다. 하지만, 이것도 #define 	]]>
	</description>
	<pubDate>Thu, 10 Jul 2008 12:32:27 +0900</pubDate>
	<dc:creator><![CDATA[the elegant anivurse]]></dc:creator>
</item>
<item>
	<title><![CDATA[STL (Standard Template Library) - part11 (final)]]></title>
	<link>http://ntcworld.egloos.com/482126</link>
	<guid>http://ntcworld.egloos.com/482126</guid>
	<description>
	<![CDATA[ 
&quot;데브피아 - 윤용한 님 번역&quot; ------------------------------------------------------------------------ STL (Standard Templete Library) part-11(final)  Yonghan, Yoon yonghany@orgio.net ------------------------------------------------------------------------                             THE WAITE GROUP's                    Object-Oriented Programming in C++                               Third Edition            	]]>
	</description>
	<pubDate>Tue, 17 Jun 2008 21:45:50 +0900</pubDate>
	<dc:creator><![CDATA[니눅스님의 이글루]]></dc:creator>
</item>
<item>
	<title><![CDATA[STL : sequence contailers]]></title>
	<link>http://fromdj.egloos.com/4383840</link>
	<guid>http://fromdj.egloos.com/4383840</guid>
	<description>
	<![CDATA[ 
 STL에 있는 sequence contailer 에는 다음 세가지가 있다.  vectordeque (double-ended queue)list 여기서 vector 의 경우는 push_back / pop_back이 가장 빠르다. 그 외의 위치에 insertion 이나 deletion 은 내부 아이템들을 이동시키는 연산을 필요로 하기 때문에 무척 느려진다.  deque 의 경우는 pop/push back/front 가 있어서, 앞부분과 뒷부분에 삽입과 삭제는 아주 빠르다.  하지만 이 역시 중간에 insertion 이나 deletion 에는 약점이 있다. 그래서 중간에 insertion 이 많거나 한 경우에는 list를 써야 한다. 즉 STL에 있는 라이브러리를 쓸때 비록 모든 것들이 최적화 되어있고 잘짜여져	]]>
	</description>
	<pubDate>Tue, 27 May 2008 03:54:11 +0900</pubDate>
	<dc:creator><![CDATA[DJ pedia]]></dc:creator>
</item>
<item>
	<title><![CDATA[2008년 03월 17일..]]></title>
	<link>http://madchick.egloos.com/1727534</link>
	<guid>http://madchick.egloos.com/1727534</guid>
	<description>
	<![CDATA[ 
유지보수팀  새로운 것을 개발하는 것에만 배울 것이 있는 것은 아니다.. 유지보수 업무를 시사한 일 혹은 허드렛 일로 생각하는 사람들이 많은데, 이는 QA 업무에 대해서도 비슷한 반응으로 나타난다.. 중요한 것은 어떤 업무를 하던 배울 것이 있다는 것이고, 그 분야의 업무에 대한 경험이 다른 업무에도 도움이 된다는 것이다.. 유지보수 업무를 제대로 고려치 못한 제품이나 서비스는 결코 훌륭한 제품이나 서비스가 될 수 없다..    STL/CLR 대실망  .NET, Java 이야기가 나오면 항상 따라올 수 밖에 없는 성능 이야기.. 결국엔 넘을 수 없는 한계라는 생각이 든다.. 참을만 정도의 성능을 보인다면 C/C++로 개발하게 되면 훨씬 더 빠른 성능을 보이게 된다.. 결국 성능이 중요한 부분은 .NET이나 	]]>
	</description>
	<pubDate>Mon, 17 Mar 2008 04:37:07 +0900</pubDate>
	<dc:creator><![CDATA[미친병아리가 삐약삐약]]></dc:creator>
</item>
<item>
	<title><![CDATA[VC6 에서 VC2005로 이전해야 하는 이유]]></title>
	<link>http://orchis.egloos.com/1722536</link>
	<guid>http://orchis.egloos.com/1722536</guid>
	<description>
	<![CDATA[ 
VC   6.0을 쓰지 말아야하는 이유    이전에 다니던 회사에서 개발하던 프로그램은 VC6 에서 MFC기반으로 개발된 프로젝트였습니다.    코드량도 어마어마했죠(제가 있던 당시 만 7년을 개발 &amp;amp; 유지보수 하던 프로젝트니까요).    그리고 많은 개발자 분들이 그러하시듯 툴에 익숙하다는 것과 기타 여러가지 이유로 VC .NET, 2003을 다 건너뛰고 계속 VC6 으로만 개발을 했었습니다.    하지만, 다음과 같은 요구사항이 들어오면서 VC2005로 이전 할 수 밖에 없는 상황이 오고야 말았으니 그건...    x64 버전을 개발해 주세요!    라는 시대의 요구(...) 였습니다.  뭐, VC6으로 x64 개발도 할 수 있다! 라고 말씀해 주시는 분도 계시겠지만, 아무리 그래도 툴에서 정식으	]]>
	</description>
	<pubDate>Thu, 06 Mar 2008 15:45:33 +0900</pubDate>
	<dc:creator><![CDATA[Orchis의 Old-Home]]></dc:creator>
</item>
<item>
	<title><![CDATA[08시즌 카즈예상]]></title>
	<link>http://tansen.egloos.com/1373922</link>
	<guid>http://tansen.egloos.com/1373922</guid>
	<description>
	<![CDATA[ 
아마 군대가기전 마지막 야구글이 되것네요  일부러 카즈에 대한 글들은 피했지만 07시즌을 돌아보고 08시즌을 한번예상하고싶어 이리 써봅니다  똥글이니 그냥 재미로만 봐주세요    1. 맛이 간 선발진 그나마 웨인...  이번시즌 카즈를 먹여살린건 누가 뭐라해도 웨인라이트입니다    | Adam Wainwright    | Current Status:  Full Name: Adam Parrish Wainwright Born: 08/30/1981 Birthplace: Brunswick, GA Height: 6'7&quot;   Weight: 230 Bats: Right Throws: Right College: N/A MLB Debut: 09/11/2005 3.7014-120136Get Adam Wainwright gea	]]>
	</description>
	<pubDate>Sun, 03 Feb 2008 11:53:24 +0900</pubDate>
	<dc:creator><![CDATA[친절을 모르는 탄센씨의 안습블로그]]></dc:creator>
</item>
<item>
	<title><![CDATA[stl을 DLL제작시 문제점..warning C4251: 에 대한 대처]]></title>
	<link>http://whiletrue.egloos.com/1291551</link>
	<guid>http://whiletrue.egloos.com/1291551</guid>
	<description>
	<![CDATA[ 
 DLL제작시 warning C4251: 에 대한 대처 PDF 문서 인용. #include&amp;lt;vector&amp;gt; #if !defined(DLLEXPORT_EXPORTS) # define DLLEXPORT_API __declspec(dllexport) #else # define DLLEXPORT_API __declspec(dllimport) #endif class DLLEXPORT_API CDLLexport { public: std::vector&amp;lt;char&amp;gt; vs; }; warning C4251: 'vs' : class 'std::vector&amp;lt; char,class std::allocator&amp;lt;char&amp;gt; &amp;gt;' needs to have dll-interface to be used b	]]>
	</description>
	<pubDate>Tue, 15 Jan 2008 13:04:09 +0900</pubDate>
	<dc:creator><![CDATA[랄라라랄라님의 이글루]]></dc:creator>
</item>
<item>
	<title><![CDATA[STL 컨테이너 잘못된 사용 -0-]]></title>
	<link>http://whiletrue.egloos.com/1267609</link>
	<guid>http://whiletrue.egloos.com/1267609</guid>
	<description>
	<![CDATA[ 
엔진 수업 중에 리소스관리를 위하여 리소스 매니저를 두고 매니저의 자료 구조를 tree로 할려고 STL 맵을 사용하고 리소스매니저 소멸자 호출시에 맵안에 동적으로 할당된 모든 데이타를 삭제하는 형식으로 코딩을 하였는데 매번 뻑이나는 것이었다.  대략 코드는..  for( map&amp;lt;string, IResource*&amp;gt;::iterator iter = mapContainer.begin() ; iter != mapContainer.end() ; ++iter) {     delete (iter-&amp;gt;second); } mapContainer.clear();  이렇고 에러 메시지는   Debug Assertion Failed! Expression:map/set iterator not incrementable 	]]>
	</description>
	<pubDate>Thu, 10 Jan 2008 10:10:45 +0900</pubDate>
	<dc:creator><![CDATA[랄라라랄라님의 이글루]]></dc:creator>
</item>
<item>
	<title><![CDATA[list::insert, list::erase]]></title>
	<link>http://purewell.egloos.com/3560419</link>
	<guid>http://purewell.egloos.com/3560419</guid>
	<description>
	<![CDATA[ 
STL가 제공하는 list에 insert, erase는 각각 iterator를 반환한다. (형태에 따라 반환하지 않는 것도 있으니 주의)  iterator insert(iterator pos, const T&amp;amp; x) : pos 앞쪽에 x를 넣고, x에 대한 iterator를 반환한다.iterator erase(iterator pos) : pos에 해당하는 아이템을 삭제하고, pos 다음 iterator를 반환한다.예)  #include &amp;lt;iostream&amp;gt;  #include &amp;lt;list&amp;gt;  #include &amp;lt;set&amp;gt;  #include &amp;lt;algorithm&amp;gt;  using namespace std;    typedef list&amp;lt;int&amp;gt; list_int;  t	]]>
	</description>
	<pubDate>Thu, 03 Jan 2008 11:48:21 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
<item>
	<title><![CDATA[삽질로 배우는 STL? 해답편 ... -_-]]></title>
	<link>http://nvyu.egloos.com/1689407</link>
	<guid>http://nvyu.egloos.com/1689407</guid>
	<description>
	<![CDATA[ 
삽질로 배우는 STL 기초 개념? 의 解편입니다.    이전 글을 보시지 못한 상태에서 내가 스스로 코드의 버그를 밝혀내겠소 같은 생각을 하는 분이 계시...려나 모르겠군요. -_-;  그런 분은 이전 글만 읽어보시면 되겠습니다.        여튼 정답을, 자타공인 코딩의 신 아샬 님께서 매우 가볍게 맞추어 주셨습니다.  상품으로 특별히 제 블로그 1년 정기구독RSS를 증정!  필요 없다구요? 넵 지성 _-    아무튼 해설편입니다.  문제편의 소스 코드 전부를 인용...하지는 않겠습니다.   			AddData(vecFoo, p);  			ASSERT(&amp;amp;p == &amp;amp;vecFoo[i]); //  			p.dwType += 10;힙 메모리가 깨지는 원인은 바로 저 부분에 있었습니다.   Foo &amp;	]]>
	</description>
	<pubDate>Fri, 28 Dec 2007 10:34:40 +0900</pubDate>
	<dc:creator><![CDATA[다녀오세요♡]]></dc:creator>
</item>
<item>
	<title><![CDATA[삽질로 배우는 STL 기초 개념?]]></title>
	<link>http://nvyu.egloos.com/1688996</link>
	<guid>http://nvyu.egloos.com/1688996</guid>
	<description>
	<![CDATA[ 
제목이 낚시...인듯한데 생각나는 제목이. -_-;    다음은 버그가 있는 코드입니다. 버그의 원인을 찾아보세요.  inline void AddData(vector&amp;lt;Foo&amp;gt;&amp;amp; vn, Foo&amp;amp; fu)   {  	vn.push_back(fu);  }    {  	vector&amp;lt;Foo&amp;gt; vecFoo;  	//...  	//적당히 vecFoo에 개체를 채워넣는다.  	//  	size_t n = vecFoo.size();  	for (size_t i = 0; i &amp;lt; n; ++i) {  		Foo &amp;amp;p = vecFoo[i];  		if (p.dwType &amp;lt; 10) {  			AddData(vecFoo, p);  			p.dwType += 10;  		}  	}  	]]>
	</description>
	<pubDate>Thu, 27 Dec 2007 14:25:44 +0900</pubDate>
	<dc:creator><![CDATA[다녀오세요♡]]></dc:creator>
</item>
<item>
	<title><![CDATA[find_if&lt;const char*&gt; 찾지 못하면?]]></title>
	<link>http://purewell.egloos.com/3519641</link>
	<guid>http://purewell.egloos.com/3519641</guid>
	<description>
	<![CDATA[ 
당연한 결과겠지만, 맨 뒷 녀석이 나오겠지.  #include &amp;lt;algorithm&amp;gt;  #include &amp;lt;functional&amp;gt;  #include &amp;lt;iostream&amp;gt;  using namespace std;    int  main(int argc, char* argv[])  {      const char buf[] = &quot;Hello, world!&quot;;      const char* pb(buf);      const char* pe(buf+sizeof(buf));        const char* r1(NULL);      const char* r2(NULL);        r1 = find_if(pb,pe,bind2nd(equal_to&amp;lt;char&amp;gt;(), 'w'));    	]]>
	</description>
	<pubDate>Fri, 07 Dec 2007 14:40:27 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
<item>
	<title><![CDATA[bind2nd 컴파일 오류2]]></title>
	<link>http://purewell.egloos.com/3517776</link>
	<guid>http://purewell.egloos.com/3517776</guid>
	<description>
	<![CDATA[ 
bind2nd 컴파일 오류    아, 시바스 리갈 같은 상황. 이럴꺼면 뭣하러 STL써!  #include &amp;lt;list&amp;gt;  #include &amp;lt;algorithm&amp;gt;  #include &amp;lt;functional&amp;gt;  #include &amp;lt;iostream&amp;gt;  using namespace std;    typedef struct mystorage  {      int i;      char c;  } mystorage;    #if defined(POINTER_TYPE)  typedef list&amp;lt;mystorage*&amp;gt; mylist;  #else  typedef list&amp;lt;mystorage&amp;gt; mylist;  #endif    #if defined(POINTER_TYPE)	]]>
	</description>
	<pubDate>Thu, 06 Dec 2007 10:44:48 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
<item>
	<title><![CDATA[bind2nd 컴파일 오류]]></title>
	<link>http://purewell.egloos.com/3516710</link>
	<guid>http://purewell.egloos.com/3516710</guid>
	<description>
	<![CDATA[ 
아래와 같은 소스에서 bind2nd에서 컴파일 오류가 난다.    #include &amp;lt;list&amp;gt;  #include &amp;lt;algorithm&amp;gt;  #include &amp;lt;functional&amp;gt;  using namespace std;    typedef struct mystorage  {      int i;      char c;  } mystorage;    typedef list&amp;lt;char*&amp;gt; mylist;    inline  bool  check(const mystorage&amp;amp; s, int id)  {      return s.i == id;  }    int  main(int,char**)  {      mylist lst;      mylist::iterator ib; 	]]>
	</description>
	<pubDate>Wed, 05 Dec 2007 16:47:20 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
	</channel>
</rss>