Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
Menu
char array string « String « C++
C++
String
char array string
1.
Demonstrate the basic null-terminated string functions.
2.
Operator pointer
3.
Count spaces, punctuation, digits, and letters.
4.
Convert char array to upper case
5.
Using strcpy() to assign value from one char array to another char array
6.
Using strncpy() to assign one char array to another char array
7.
Using strcpy and string terminator
8.
Using strncpy() and string terminator
9.
Get the string length
10.
Using strcat() and strncat().
11.
Using atoi() function
12.
Filling an Array
13.
Use strlen() to get the length of a char array buffer