본문 바로가기

전체 글340

STL vector 컨테이너의 간단한 사용예 vector가 동적 "배열"이라더니 임의 위치에 원소를 삽입하는 기능의 함수는 없는듯.. 크기를 늘리고 원소를 복사하고 하는 작업이 필요한 것 같다. 그냥 순차적으로 원소를 삽입하고 출력하는 예제. (소트 알고리즘 추가) #include #include #include typedef struct _testdb { char str[128]; int num; } TestDB, * PTestDB; bool CompareDB( const TestDB& First, const TestDB& Second ) { bool bFlag = false; if ( strcmp( First.str, Second.str) < 0 ) // 오름차순 정렬 bFlag = true; return bFlag; } int main( vo.. 2008. 2. 17.
CString을 string으로 바꾸면서 해준 내용들... // WriteFile( hParsedData, tempStr.GetBuffer( tempStr.GetLength() ), tempStr.GetLength(), &dwWrite, NULL ); WriteFile( hParsedData, tempStr.c_str(), tempStr.size(), &dwWrite, NULL ); CString tempStr2; tempStr2 = tempStr.c_str(); pTool->m_lbLogView.AddString( tempStr2 ); //tempStr = pPacket->NMEA.Left( 6 ); // ????? tempStr = pPacket->NMEA.substr( 0, 6 ); // pPacket->NMEA = tempBuffer; pPacket->N.. 2008. 2. 14.
MS의 임베디드 OS 구분 [출처] http://www.microsoft.com/windows/embedded/default.mspx (Windows Embedded Home 이란다. ) - Windows Embedded CE 6.0 CE 6.0 부터 붙여진 이름이란다. 중간에 (Embedded란 단어가 들어갔네..) small fotprint device를 위해 디자인된 OS와 개발 플랫폼이라고 정의되어 있씀. - Windows XP Embedded 정확한 정의가 없다. (망헐) 아마도 CE 보다 조금 더 큰(?) 규모의 디바이스를 위한 OS와 개발 플랫폼이 아닐까? - WIndows Embedded for POS 이름 그대로 POS를 위한 OS와 개발 플랫폼. - Windows Vista for Embedded Systems .. 2008. 2. 14.
공개 ttf 글꼴 리눅스 & 윈도우 사용 가능 http://ftp.debian.org/debian/pool/main/t/ttf-alee/ http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/20050605/ 2008. 2. 13.