码迷,mamicode.com
首页 >  
搜索关键字:unsigned    ( 4409个结果
MFC程序出现uafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)解决办法
在同一个地方摔倒两次之后,决定记录下来这个东西。 问题 在同一个地方摔倒两次之后,决定记录下来这个东西。 问题 1>uafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YA ...
分类:编程语言   时间:2019-12-01 00:02:29    阅读次数:116
C++ 类型转换
类型转换: 在C++中, 如果两种类型相关联, 如果程序需要一种类型的运算对象时,可以用另一种关联类型的对象或值来代替。 也就是说,这两种类型可以互相转换, 即两种类型是关联的。 int ival = 3.541+ 3; 编译器会警告 运算会损失精度。 隐式类型转换: C++不会将两个数直接相加, ...
分类:编程语言   时间:2019-11-30 13:59:53    阅读次数:106
c++数据类型
c++如何确定常量类型 2019 除非有理由存储为其他类型。否则将常量存储为int + 如使用特殊的后缀来表示特定的类型 l表示long u表示unsigned int ul表示unsigned long ll表示long long ull表示 unsigned long long 16为地址数将会 ...
分类:编程语言   时间:2019-11-30 00:07:49    阅读次数:76
itoa、ltoa
``` #include /*整形转字符型*/ char * itoa(int value, char *string, int radix) { char tmp[33]; char *tp = tmp; int i; unsigned v; int sign; char *sp; if (rad... ...
分类:其他好文   时间:2019-11-29 18:33:22    阅读次数:139
动态内存分配的补充 realloc和calloc函数
malloc calloc realloc 都是头文件的函数 函数原型: void malloc(unsigned int num_bytes) void calloc(size_t n, size_t size) void realloc(void ptr, size_t new_Size) 先说 ...
分类:其他好文   时间:2019-11-29 13:09:14    阅读次数:100
mysql命令大全
#登录数据库mysql -hlocalhost -uroot -p;#修改密码mysqladmin -uroot -pold password new;#显示数据库show databases;#显示数据表show tables;#选择数据库use examples;#创建数据库并设置编码utf-8 ...
分类:数据库   时间:2019-11-29 00:32:21    阅读次数:100
(时间戳+线段树)华华和月月种树
题意: 思路: 先建好整棵树。 遇到+val操作用dfn对区间+val 遇到加新点清空一下该点的点值(这里保证了之后查询的点肯定是清空过的) 差分+树状数组or线段树 1 #define IOS ios_base::sync_with_stdio(0); cin.tie(0); 2 #include ...
分类:其他好文   时间:2019-11-28 21:16:02    阅读次数:92
蜂鸣器的驱动程序---吴坚鸿
#include "REG52.H"#define const_time_05s 222#define const_time_1s 444#define const_time_3s 1332#define const_time_6s 2664 #define const_voice_short 40 ...
分类:其他好文   时间:2019-11-26 22:21:59    阅读次数:111
变长数组的使用
1 #include <stdio.h> 2 #include <string.h> 3 #include "iostream" 4 5 typedef struct { 6 unsigned int dwMsgLen; 7 char ucMsg[0]; //柔性数组(零长数组) C99以上支持 8 ...
分类:编程语言   时间:2019-11-25 23:54:30    阅读次数:87
数据库在实际生产中使用的注意事项
--由于users_info表创建的时候,添加了外键约束,所以,小伙伴们测试的话,建议先建个角色表roles CREATE TABLE roles( role_id smallint unsigned primary key auto_increment, #角色id role_name varch ...
分类:数据库   时间:2019-11-24 09:54:28    阅读次数:88
4409条   上一页 1 ... 39 40 41 42 43 ... 441 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!