Home
Subjects
Textbook solutions
Create
Study sets, textbooks, questions
Log in
Sign up
Upgrade to remove ads
Only $35.99/year
đọc ghi file trong C
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (29)
\b
backspace
\a
ASCII Bell
-may cause receiving device to emit a bell or warning of some kind
strlen()
Returns the length of a string
strcpy
Accepts two C-strings or pointers to two C-strings as arguments. The function copies the second C-string to the first C-string. The second C-string is left unchanged.
strcat(s1, s2)
Concatenates string s2 onto the end of string s1(nối)
strchr()
Finds the first occurrence of a string inside another string (Tìm kí tự trong chuỗi- string character)
strstr()
Finds the first occurrence of a string inside another string (case-sensitive)
String string: tìm chuỗi trong chuỗi
strcmp(s1, s2)
Returns 0 if s1 and s2 are the same; less than 0 if s1<s2; greater than 0 if s1>s2
string compare
strrev()
Reverses a string
strlwr()
converts a string to lowercase
strupr()
converts a string to uppercase
strncat()
nối n kí tự chuỗi sau vào chuỗi trước
fopen
FILE
fopen(char
file, char *openmode);
Mở 1 tệp tin
fclose
Closes an open file
fputc
writes a character value- ghi 1 kí tự vào tệp
Other sets by this creator
Tipping Makes A Comeback
41 terms
Chilies
26 terms
Mau Piailug, ocean navigator
8 terms
Sylvia Earle, underwater hero
7 terms