非常教程

C参考手册

C 语言是一门通用计算机编程语言,应用广泛。C 语言的设计目标是提供一种能以简易的方式编译、处理低级存储器、产生少量的机器码以及不需要任何运行环境支持便能运行的编程语言。

算法 | Algorithms
Algorithms 详细
bsearch 详细
bsearch_s 详细
qsort 详细
qsort_s 详细
原子操作 | Atomic operations
Atomic operations library 详细
ATOMIC_*_LOCK_FREE 详细
atomic_compare_exchange_strong 详细
atomic_compare_exchange_strong_explicit 详细
atomic_compare_exchange_weak 详细
atomic_compare_exchange_weak_explicit 详细
atomic_exchange 详细
atomic_exchange_explicit 详细
atomic_fetch_add 详细
atomic_fetch_add_explicit 详细
atomic_fetch_and 详细
atomic_fetch_and_explicit 详细
atomic_fetch_or 详细
atomic_fetch_or_explicit 详细
atomic_fetch_sub 详细
atomic_fetch_sub_explicit 详细
atomic_fetch_xor 详细
atomic_fetch_xor_explicit 详细
atomic_flag 详细
atomic_flag_clear 详细
atomic_flag_clear_explicit 详细
ATOMIC_FLAG_INIT 详细
atomic_flag_test_and_set 详细
atomic_flag_test_and_set_explicit 详细
atomic_init 详细
atomic_is_lock_free 详细
atomic_load 详细
atomic_load_explicit 详细
atomic_signal_fence 详细
atomic_store 详细
atomic_store_explicit 详细
atomic_thread_fence 详细
ATOMIC_VAR_INIT 详细
kill_dependency 详细
memory_order 详细
关键词 | C keywords
auto 详细
break 详细
C keywords 详细
case 详细
char 详细
const 详细
continue 详细
default 详细
do 详细
double 详细
else 详细
enum 详细
extern 详细
float 详细
for 详细
fortran 详细
goto 详细
if 详细
inline 详细
int 详细
long 详细
register 详细
restrict 详细
return 详细
short 详细
signed 详细
sizeof 详细
static 详细
struct 详细
switch 详细
typedef) 详细
union 详细
unsigned 详细
void 详细
volatile 详细
while 详细
_Alignas 详细
_Alignof 详细
_Atomic 详细
_Bool 详细
_Complex 详细
_Generic 详细
_Imaginary 详细
_Noreturn 详细
_Static_assert 详细
_Thread_local 详细
C 语法
#define directive 详细
#elif directive 详细
#else directive 详细
#endif directive 详细
#error directive 详细
#if directive 详细
#ifdef directive 详细
#ifndef directive 详细
#include directive 详细
#line directive 详细
#pragma directive 详细
alignas 详细
Alternative operators and tokens 详细
Analyzability 详细
Arithmetic operators 详细
Arithmetic types 详细
Array declaration 详细
Array initialization 详细
ASCII Chart 详细
Assignment operators 详细
types 详细
Basic concepts 详细
Bit fields 详细
break statement 详细
C language 详细
C Operator Precedence 详细
cast operator 详细
character constant 详细
Comments 详细
Comparison operators 详细
compound literals 详细
Conditional inclusion 详细
Conformance 详细
const type qualifier 详细
Constant expressions 详细
continue statement 详细
Declarations 详细
do-while loop 详细
Enumerations 详细
Escape sequences 详细
Expressions 详细
External and tentative definitions 详细
File scope 详细
floating constant 详细
for loop 详细
Function declarations 详细
Function definitions 详细
Functions 详细
Generic selection 详细
goto statement 详细
Identifier 详细
if statement 详细
Implicit conversions 详细
Increment/decrement operators 详细
Initialization 详细
inline function specifier 详细
integer constant 详细
Lifetime 详细
Logical operators 详细
Lookup and name spaces 详细
Main function 详细
Member access operators 详细
Memory model 详细
Objects and alignment 详细
Order of evaluation 详细
Other operators 详细
Phases of translation 详细
Pointer declaration 详细
Preprocessor 详细
restrict type qualifier 详细
return statement 详细
Scalar initialization 详细
Scope 详细
sizeof operator 详细
Statements 详细
static assert declaration 详细
Static storage duration 详细
Storage-class specifiers 详细
string literals 详细
Struct and union initialization 详细
Struct declaration 详细
switch statement 详细
Thread storage duration 详细
Type 详细
Type 详细
Typedef declaration 详细
Undefined behavior 详细
Union declaration 详细
Value categories 详细
Variadic arguments 详细
volatile type qualifier 详细
while loop 详细
_Alignof operator 详细
_Noreturn function specifier 详细
日期与时间 | Date and time
asctime 详细
asctime_s 详细
clock 详细
CLOCKS_PER_SEC 详细
clock_t 详细
ctime(ctime函数) 详细
ctime_s 详细
Date and time utilities 详细
difftime 详细
gmtime 详细
gmtime_s 详细
localtime 详细
localtime_s 详细
mktime 详细
strftime 详细
time 详细
timespec 详细
timespec_get 详细
time_t 详细
tm 详细
wcsftime 详细
动态内存管理 | Dynamic memory management
aligned_alloc 详细
C memory management library 详细
calloc 详细
free 详细
malloc 详细
realloc 详细
错误处理 | Error handling
abort_handler_s 详细
assert 详细
constraint_handler_t 详细
error 详细
Error handling 详细
Error numbers 详细
ignore_handler_s 详细
set_constraint_handler_s 详细
static_assert 详细
文件输入/输出 | File input/output
clearerr 详细
fclose 详细
feof 详细
ferror 详细
fflush 详细
fgetc 详细
fgetpos 详细
fgets 详细
fgetwc 详细
fgetws 详细
File input/output 详细
fopen 详细
fopen_s 详细
fprintf 详细
fprintf_s 详细
fputc 详细
fputs 详细
fputwc 详细
fputws 详细
fread 详细
freopen 详细
freopen_s 详细
fscanf 详细
fscanf_s 详细
fseek 详细
fsetpos 详细
ftell 详细
fwide 详细
fwprintf 详细
fwprintf_s 详细
fwrite 详细
fwscanf 详细
fwscanf_s 详细
getc 详细
getchar 详细
gets 详细
gets_s 详细
getwchar 详细
perror 详细
printf 详细
printf_s 详细
putc 详细
putchar 详细
puts 详细
putwc 详细
putwchar 详细
remove 详细
rename 详细
rewind 详细
scanf 详细
scanf_s 详细
setbuf 详细
setvbuf 详细
snprintf 详细
sprintf 详细
sscanf 详细
sscanf_s 详细
swprintf 详细
swprintf_s 详细
swscanf 详细
swscanf_s 详细
tmpfile 详细
tmpfile_s 详细
tmpnam 详细
tmpnam_s 详细
ungetc 详细
ungetwc 详细
vfprintf 详细
vfprintf_s 详细
vfscanf 详细
vfscanf_s 详细
vfwprintf 详细
vfwprintf_s 详细
vfwscanf 详细
vfwscanf_s 详细
vprintf 详细
vprintf_s 详细
vscanf 详细
vscanf_s 详细
vsnprintf 详细
vsprintf 详细
vsscanf 详细
vsscanf_s 详细
vswprintf 详细
vswprintf_s 详细
vswscanf 详细
vswscanf_s 详细
vwprintf 详细
vwprintf_s 详细
vwscanf 详细
vwscanf_s 详细
wprintf 详细
wprintf_s 详细
wscanf 详细
wscanf_s 详细
本地化支持 | Localization support
lconv 详细
LC_ALL 详细
LC_COLLATE 详细
LC_CTYPE 详细
LC_MONETARY 详细
LC_NUMERIC 详细
LC_TIME 详细
localeconv 详细
Localization support 详细
setlocale 详细
数值 | Numerics
abs 详细
acos 详细
acosf 详细
acosh 详细
acoshf 详细
acoshl 详细
acosl 详细
asin 详细
asinf 详细
asinh 详细
asinhf 详细
asinhl 详细
asinl 详细
atan 详细
atan2 详细
atan2f 详细
atan2l 详细
atanf 详细
atanh 详细
atanhf 详细
atanhl 详细
atanl 详细
cabs 详细
cabsf 详细
cabsl 详细
cacos 详细
cacosf 详细
cacosh 详细
cacoshf 详细
cacoshl 详细
cacosl 详细
carg 详细
cargf 详细
cargl 详细
casin 详细
casinf 详细
casinh 详细
casinhf 详细
casinhl 详细
casinl 详细
catan 详细
catanf 详细
catanh 详细
catanhf 详细
catanhl 详细
catanl 详细
cbrt 详细
cbrtf 详细
cbrtl 详细
ccos 详细
ccosf 详细
ccosh 详细
ccoshf 详细
ccoshl 详细
ccosl 详细
ceil 详细
ceilf 详细
ceill 详细
cexp 详细
cexpf 详细
cexpl 详细
cimag 详细
cimagf 详细
cimagl 详细
clog 详细
clogf 详细
clogl 详细
CMPLX 详细
CMPLXF 详细
CMPLXL 详细
Common mathematical functions 详细
complex 详细
Complex number arithmetic 详细
conj 详细
conjf 详细
conjl 详细
copysign 详细
copysignf 详细
copysignl 详细
cos 详细
cosf 详细
cosh 详细
coshf 详细
coshl 详细
cosl 详细
cpow 详细
cpowf 详细
cpowl 详细
cproj 详细
cprojf 详细
cprojl 详细
creal 详细
crealf 详细
creall 详细
csin 详细
csinf 详细
csinh 详细
csinhf 详细
csinhl 详细
csinl 详细
csqrt 详细
csqrtf 详细
csqrtl 详细
ctan 详细
ctanf 详细
ctanh 详细
ctanhf 详细
ctanhl 详细
ctanl 详细
div 详细
double_t 详细
erf 详细
erfc 详细
erfcf 详细
erfcl 详细
erff 详细
erfl 详细
exp 详细
exp2 详细
exp2f 详细
exp2l 详细
expf 详细
expl 详细
expm1 详细
expm1f 详细
expm1l 详细
fabs 详细
fabsf 详细
fabsl 详细
fdim 详细
feclearexcept 详细
fegetenv 详细
fegetexceptflag 详细
fegetround 详细
feholdexcept 详细
feraiseexcept 详细
fesetenv 详细
fesetexceptflag 详细
fesetround 详细
fetestexcept 详细
feupdateenv 详细
FE_ALL_EXCEPT 详细
FE_DFL_ENV 详细
FE_DIVBYZERO 详细
FE_DOWNWARD 详细
FE_INEXACT 详细
FE_INVALID 详细
FE_OVERFLOW 详细
FE_TONEAREST 详细
FE_TOWARDZERO 详细
FE_UNDERFLOW 详细
FE_UPWARD 详细
Floating-point environment 详细
float_t 详细
floor 详细
floorf 详细
floorl 详细
fma 详细
fmaf 详细
fmal 详细
fmax 详细
fmaxf 详细
fmaxl 详细
fmin 详细
fminf 详细
fminl 详细
fmod 详细
fmodf 详细
fmodl 详细
fpclassify 详细
FP_INFINITE 详细
FP_NAN 详细
FP_NORMAL 详细
FP_SUBNORMAL 详细
FP_ZERO 详细
frexp 详细
frexpf 详细
frexpl 详细
HUGE_VAL 详细
HUGE_VALF 详细
HUGE_VALL 详细
hypot 详细
hypotf 详细
hypotl 详细
I 详细
ilogb 详细
ilogbf 详细
ilogbl 详细
imaginary 详细
imaxabs 详细
imaxdiv 详细
INFINITY 详细
isfinite 详细
isgreater 详细
isgreaterequal 详细
isinf 详细
isless 详细
islessequal 详细
islessgreater 详细
isnan 详细
isnormal 详细
isunordered 详细
labs 详细
ldexp 详细
ldexpf 详细
ldexpl 详细
ldiv 详细
lgamma 详细
lgammaf 详细
lgammal 详细
llabs 详细
lldiv 详细
llrint 详细
llrintf 详细
llrintl 详细
llround 详细
llroundf 详细
llroundl 详细
log 详细
log10 详细
log10f 详细
log10l 详细
log1p 详细
log1pf 详细
log1pl 详细
log2 详细
log2f 详细
log2l 详细
logb 详细
logbf 详细
logbl 详细
logf 详细
logl 详细
lrint 详细
lrintf 详细
lrintl 详细
lround 详细
lroundf 详细
lroundl 详细
MATH_ERREXCEPT 详细
math_errhandling 详细
MATH_ERRNO 详细
modf 详细
modff 详细
modfl 详细
nan 详细
NAN 详细
nanf 详细
nanl 详细
nearbyint 详细
nearbyintf 详细
nearbyintl 详细
nextafter 详细
nextafterf 详细
nextafterl 详细
nexttoward 详细
nexttowardf 详细
nexttowardl 详细
Numerics 详细
pow 详细
powf 详细
powl 详细
Pseudo-random number generation 详细
rand 详细
RAND_MAX 详细
remainder 详细
remainderf 详细
remainderl 详细
remquo 详细
remquof 详细
remquol 详细
rint 详细
rintf 详细
rintl 详细
round 详细
roundf 详细
roundl 详细
scalbln 详细
scalblnf 详细
scalblnl 详细
scalbn 详细
scalbnf 详细
scalbnl 详细
signbit 详细
sin 详细
sinf 详细
sinh 详细
sinhf 详细
sinhl 详细
sinl 详细
sqrt 详细
sqrtf 详细
sqrtl 详细
srand 详细
tan 详细
tanf 详细
tanh 详细
tanhf 详细
tanhl 详细
tanl 详细
tgamma 详细
tgammaf 详细
tgammal 详细
trunc 详细
truncf 详细
truncl 详细
Type-generic math 详细
_Complex_I 详细
_Imaginary_I 详细
编程支持 | Program support
abort 详细
atexit 详细
at_quick_exit 详细
exit 详细
EXIT_FAILURE 详细
EXIT_SUCCESS 详细
getenv 详细
getenv_s 详细
jmp_buf 详细
longjmp 详细
Program support utilities 详细
quick_exit 详细
raise 详细
setjmp 详细
SIGABRT 详细
SIGFPE 详细
SIGILL 详细
SIGINT 详细
signal 详细
SIGSEGV 详细
SIGTERM 详细
sig_atomic_t 详细
SIG_DFL 详细
SIG_ERR 详细
SIG_IGN 详细
system 详细
_Exit 详细
字符串 | Strings
atof 详细
atoi 详细
atol 详细
atoll 详细
btowc 详细
c16rtomb 详细
c32rtomb 详细
char16_t 详细
char32_t 详细
isalnum 详细
isalpha 详细
isblank 详细
iscntrl 详细
isdigit 详细
isgraph 详细
islower 详细
isprint 详细
ispunct 详细
isspace 详细
isupper 详细
iswalnum 详细
iswalpha 详细
iswblank 详细
iswcntrl 详细
iswctype 详细
iswdigit 详细
iswgraph 详细
iswlower 详细
iswprint 详细
iswpunct 详细
iswspace 详细
iswupper 详细
iswxdigit 详细
isxdigit 详细
mblen 详细
mbrlen 详细
mbrtoc16 详细
mbrtoc32 详细
mbrtowc 详细
mbsinit 详细
mbsrtowcs 详细
mbsrtowcs_s 详细
mbstate_t 详细
mbstowcs 详细
mbstowcs_s 详细
mbtowc 详细
memchr 详细
memcmp 详细
memcpy 详细
memcpy_s 详细
memmove 详细
memmove_s 详细
memset 详细
memset_s 详细
Null-terminated byte strings 详细
Null-terminated multibyte strings 详细
Null-terminated wide strings 详细
strcat 详细
strcat_s 详细
strchr 详细
strcmp 详细
strcoll 详细
strcpy 详细
strcpy_s 详细
strcspn 详细
strerror 详细
strerrorlen_s 详细
strerror_s 详细
Strings library 详细
strlen 详细
strncat 详细
strncat_s 详细
strncmp 详细
strncpy 详细
strncpy_s 详细
strnlen_s 详细
strpbrk 详细
strrchr 详细
strspn 详细
strstr 详细
strtod 详细
strtof 详细
strtoimax 详细
strtok 详细
strtok_s 详细
strtol 详细
strtold 详细
strtoll 详细
strtoul 详细
strtoull 详细
strtoumax 详细
strxfrm 详细
tolower 详细
toupper 详细
towctrans 详细
towlower 详细
towupper 详细
wcrtomb 详细
wcrtomb_s 详细
wcscat 详细
wcscat_s 详细
wcschr 详细
wcscmp 详细
wcscoll 详细
wcscpy 详细
wcscpy_s 详细
wcscspn 详细
wcslen 详细
wcsncat 详细
wcsncat_s 详细
wcsncmp 详细
wcsncpy 详细
wcsncpy_s 详细
wcsnlen_s 详细
wcspbrk 详细
wcsrchr 详细
wcsrtombs 详细
wcsrtombs_s 详细
wcsspn 详细
wcsstr 详细
wcstod 详细
wcstof 详细
wcstoimax 详细
wcstok 详细
wcstok_s 详细
wcstol 详细
wcstold 详细
wcstoll 详细
wcstombs 详细
wcstombs_s 详细
wcstoul 详细
wcstoull 详细
wcstoumax 详细
wcsxfrm 详细
wctob 详细
wctomb 详细
wctomb_s 详细
wctrans 详细
wctype 详细
wmemchr 详细
wmemcmp 详细
wmemcpy 详细
wmemcpy_s 详细
wmemmove 详细
wmemmove_s 详细
wmemset 详细
线程支持 | Thread support
call_once 详细
cnd_broadcast 详细
cnd_destroy 详细
cnd_init 详细
cnd_signal 详细
cnd_timedwait 详细
cnd_wait 详细
mtx_destroy 详细
mtx_init 详细
mtx_lock 详细
mtx_plain 详细
mtx_recursive 详细
mtx_timed 详细
mtx_timedlock 详细
mtx_trylock 详细
mtx_unlock 详细
once_flag 详细
ONCE_FLAG_INIT 详细
thrd_busy 详细
thrd_create 详细
thrd_current 详细
thrd_detach 详细
thrd_equal 详细
thrd_error 详细
thrd_exit 详细
thrd_join 详细
thrd_nomem 详细
thrd_sleep 详细
thrd_success 详细
thrd_timedout 详细
thrd_yield 详细
Thread support library 详细
thread_local 详细
tss_create 详细
tss_delete 详细
TSS_DTOR_ITERATIONS 详细
tss_get 详细
tss_set 详细
种类支持 | Type support
Boolean type support library 详细
Fixed width integer types 详细
FLT_EVAL_METHOD 详细
FLT_ROUNDS 详细
max_align_t 详细
NULL 详细
Numeric limits 详细
offsetof 详细
ptrdiff_t 详细
size_t 详细
Type support 详细
变量函数 | Variadic functions
Variadic functions 详细
va_arg 详细
va_copy 详细
va_end 详细
va_list 详细
va_start 详细