C语言的标准和一些基本的数据类型
来源:互联网 发布:淘宝天天特价男装 编辑:程序博客网 时间:2024/05/04 06:14
http://en.cppreference.com/w/
C reference
C89, C95, C99, C11
char
unsigned char
short
int
float
double
long
long long
long double
long double
long long int
C语言的数据类型
一、基本类型
1、整形类型:int ,short int,long int,long long int(C99),char,bool
2、浮点类型:float ,double,双精度浮点型(float_complex,double_complex,long long_comples)
二、枚举类型 enum
三、空类型 void
四、派生类型
1、指针类型 *
2、数组类型 []
3、结构体类型 struct
4、共用体类型 union
5、函数类型
定宽整数类型 (C99起)
定义于头文件 <stdint.h>
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef signed char int_least8_t;
typedef short int_least16_t;
typedef int int_least32_t;
typedef long long int_least64_t;
typedef unsigned char uint_least8_t;
typedef unsigned short uint_least16_t;
typedef unsigned int uint_least32_t;
typedef unsigned long long uint_least64_t;
typedef signed char int_fast8_t;
typedef int int_fast16_t;
typedef int int_fast32_t;
typedef long long int_fast64_t;
typedef unsigned char uint_fast8_t;
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
typedef unsigned long long uint_fast64_t;
typedef long long intmax_t;
typedef unsigned long long uintmax_t;
http://zh.cppreference.com/w/%E9%A6%96%E9%A1%B5
C++ reference
C++98, C++03, C++11, C++14, C++17C reference
C89, C95, C99, C11
char
unsigned char
short
int
float
double
long
long long
long double
long double
long long int
C语言的数据类型
一、基本类型
1、整形类型:int ,short int,long int,long long int(C99),char,bool
2、浮点类型:float ,double,双精度浮点型(float_complex,double_complex,long long_comples)
二、枚举类型 enum
三、空类型 void
四、派生类型
1、指针类型 *
2、数组类型 []
3、结构体类型 struct
4、共用体类型 union
5、函数类型
定宽整数类型 (C99起)
定义于头文件 <stdint.h>
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef signed char int_least8_t;
typedef short int_least16_t;
typedef int int_least32_t;
typedef long long int_least64_t;
typedef unsigned char uint_least8_t;
typedef unsigned short uint_least16_t;
typedef unsigned int uint_least32_t;
typedef unsigned long long uint_least64_t;
typedef signed char int_fast8_t;
typedef int int_fast16_t;
typedef int int_fast32_t;
typedef long long int_fast64_t;
typedef unsigned char uint_fast8_t;
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
typedef unsigned long long uint_fast64_t;
typedef long long intmax_t;
typedef unsigned long long uintmax_t;
0 0
- C语言的标准和一些基本的数据类型
- C语言的基本数据类型
- C语言的基本数据类型
- c语言的基本数据类型
- c语言的基本数据类型
- java语言和c语言中基本数据类型的长度
- C语言基本数据类型的长度和取值范围
- C和C++语言中基本的数据类型
- OC字符串和 C 语言基本数据类型的相互转换
- C和C++语言中基本的数据类型
- 关于C语言标准的一些总结
- 关于C语言的一些标准
- [编程语言][C语言]C语言的基本数据类型
- C语言的基本数据类型(9)
- C语言中基本数据类型的分析
- C语言的基本数据类型总结
- c语言中基本数据类型的长度
- C语言基本数据类型的长度
- UnicodeToAnsi and AnsiToUnicode
- SmoothCheckBox -- 源码分析
- SoapUI参数传递
- 利用位操作符求平均值
- 正交矩阵(Orthogonal Matrix)
- C语言的标准和一些基本的数据类型
- Java String类型数据的字节长度
- 第十五周 项目2 -用哈希法组织关键字
- python正则表达式常用符号及re方法
- Spring Boot入门
- 1.2拓展--js贷款计算器
- POJ 1080 Human Gene Functions 已被翻译
- java SWT:TraverseEvent的理解塈添加TraverseListener实现Composite之间TAB键切换焦点
- SoapUI:error code34