(c언어)string함수 구현
- 최초 등록일
- 2010.08.20
- 최종 저작일
- 2010.08
- 32페이지/ MS 워드
- 가격 3,000원
소개글
string함수의 사용법과
string.h를 사용하지 않고 함수 작성을 통한 구현방법
1. char *strcat(char *strDestination, const char *strSource);
2. char *strcpy(char *strDestination, const char *strSource);
3. char *strncpy(char *strDest, const char *strSource, size_t count);
4. char *strncat(char *strDest, const char *strSource, size_t count);
5. char *strchr(char *str, char c);
6. char *strrchr(char *str, char c);
7. char *_strlwr(char * str);
8. char *_strupr(char *str);
9. char *_strnset(char *str, int c, size_t count);
10. char *_strset(char *str, char c);
11. char *strpbrk(char * str, char *strCharSet);
12. char *strstr(char *str, char *strSearch);
13. int strcmp(const char *string1, const char *string2);
14. int _stricmp(char *string1, char *string2);
15. int strncmp(const char *string1, const char *string2, size_t count);
16. int _strnicmp(const char *string1, const char *string2, size_t count);
17. size_t strlen(const char *str);
18. size_t strspn(const char *str, const char *strCharSet);
19. size_t strcspn(const char *str, const char *strCharSet);
컴파일 실행환경
Microsoft Visual Studio
참고 자료
없음