Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 230510
- fragment
- serializable
- querySelector
- 프래그먼트
- putextra
- ActionBar
- null-safety
- 230508
- javascript
- textContent
- parcelable
- intent
- ViewPager
- 생명주기
- html
- 데이터 타입
- 인텐트
- Adapter
- 230503
- classList
- 안드로이드
- Flutter
- Class
- C++
- DFS
- 부가데이터
- string
- DOMContentLoaded
- 함수 인자
Archives
- Today
- Total
목록strchr (1)
나만의 개발노트
[C] <string.h>
- strchr: 문자열 str에서 문자 ch를 검색 - 존재하면, 해당 문자의 첫 번째 위치를 가리키는 포인터 반환(index)#include #include int main(){ const char *str = "Hello, world!"; char ch = '0'; char *pos = strchr(str,ch); if(pos != NULL){ printf("Character '%c' found at position: %ld\n", ch, pos - str); }else{ printf("Character '%c' not found\n",ch); } return 0;} - strcat: 두 문자열을 연결하는 함수char *strcat(c..
[C++]/[C++] 개념 모음
2024. 5. 21. 14:07