-
PosC++ Builder/함수 2018. 12. 6. 22:14
#Pos//지정한 문자열이 포함되어 있는 위치를 반환System.UnicodeString.PosUp to Parent: UnicodeStringC++int Pos(const UnicodeString& subStr) const _ALWAYS_INLINE { PropertiesTypeVisibilitySourceUnitParentfunctionpublicustring.hSystemUnicodeStringDescriptionReturns character index at which specified substring begins.Pos returns the character index in the UnicodeString instance at which the substring subStr begins, wh..
-
DeleteC++ Builder/함수 2018. 12. 6. 22:09
#Delete//원하는 위치의 문자열을 원하는 길이만큼 제거System.UnicodeString.DeleteUp to Parent: UnicodeStringC++UnicodeString& Delete(int index, int count) _ALWAYS_INLINE { PropertiesTypeVisibilitySourceUnitParentfunctionpublicustring.hSystemUnicodeStringDescriptionRemoves a specified number of characters from the string.Delete modifies the UnicodeString object to remove count characters from the string beginning wit..
-
InsertC++ Builder/함수 2018. 12. 6. 22:08
#Insert//지정한 위치에 새로운 문자열을 삽입.System.UnicodeString.InsertUp to Parent: UnicodeStringC++UnicodeString& Insert(const UnicodeString& str, int index) _ALWAYS_INLINE { PropertiesTypeVisibilitySourceUnitParentfunctionpublicustring.hSystemUnicodeStringDescriptionInserts a specified string into UnicodeString.Insert inserts the string str into this UnicodeString object beginning at the position index, whe..
-
LengthC++ Builder/함수 2018. 12. 6. 22:08
#Length// 문자열의 길이를 반환System.UnicodeString.LengthUp to Parent: UnicodeStringC++__USTRING_INLINE int UnicodeString::Length() const PropertiesTypeVisibilitySourceUnitParentfunctionpublicustring.hSystemUnicodeStringDescriptionReturns the length, in characters, of UnicodeString.Length returns the number of characters (not necessarily bytes) in a UnicodeString object. ex) {UnicodeString TestString = “..
-
sprintfC++ Builder/함수 2018. 12. 6. 22:07
#sprintfSystem.UnicodeString.sprintfUp to Parent: UnicodeStringC++UnicodeString& __cdecl sprintf(const wchar_t* format, ...); // Returns *this PropertiesTypeVisibilitySourceUnitParentfunctionpublicustring.hSystemUnicodeStringDescriptionSets the value of UnicodeString, given the format string and its arguments.Use sprintf to set to the value of the UnicodeString instance, given a standard C++ for..
-
c_strC++ Builder/함수 2018. 12. 6. 22:06
#c_str string 문자열을 문자형 포인터로 변환하는데 사용된다.System.UnicodeString.c_str Up to Parent: UnicodeStringC++WideChar* c_str() const { return (Data)? Data: const_cast(L"");} PropertiesTypeVisibilitySourceUnitParentfunctionpublicustring.hSystemUnicodeStringDescriptionReturns a pointer to the underlying string data as const wchar_t*.c_str returns a wchar_t pointer to the location in memory where the value of t..
-
자료구조 윤성우 저 챕터5 1번문제 (자체 수정본)자료구조 2013. 4. 8. 06:54
NightDutyMain.c #include #include #include #include "CLinkedList.h" #include "Employee.h" Employee * WhosNightDuty(List * plist, char * name, int day); void ShowEmployeeInfo(Employee * emp); int main(void) { int i; Employee * pemp; // List의 생성 및 초기화 /////// List list; ListInit(&list); // 4명의 데이터 저장 /////// pemp = (Employee*)malloc(sizeof(Employee)); pemp->empNum = 11111; strcpy(pemp->name, "Terr..