码迷,mamicode.com
首页 >  
搜索关键字:char s    ( 35907个结果
C++ 编译出现的错误
第一种 cannot pass objects of non-trivially-copyable type ‘std::string {aka class std::basic_string<char>} 1、能看到出现的问题在于 string; 2、然后发现是在日志打印位置。 基本可以确定是由于 ...
分类:编程语言   时间:2021-02-10 13:04:35    阅读次数:0
Java类型转换
类型转换 低——————————————————高 byte->short->char->int->long->float->double 由于Java是强类型语言,所以进行有些运算的时候,需要用到类型转换 运算中,不同类型的数据先转化为同一类型,然后进行运算 强制类型转换 (类型)变量名 高——低 ...
分类:编程语言   时间:2021-02-10 12:58:59    阅读次数:0
销毁僵尸进程
//销毁僵尸进程2#include <stdio.h>#include <stdlib.h>#include <sys/wait.h> int main(int argc, char *argv[]){ int status; pid_t pid=fork(); if (pid==0) { slee ...
分类:系统相关   时间:2021-02-09 12:31:34    阅读次数:0
通过fork函数创建进程
//通过fork函数创建进程#include <stdio.h>#include <unistd.h> int gval=10;int main(int argc, char *argv[]){ pid_t pid; int lval=20; gval++,lval+=5; pid=fork(); ...
分类:系统相关   时间:2021-02-09 12:27:28    阅读次数:0
更改套接字I/O缓冲大小
//更改I/O缓冲大小 //set_buffer.c#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/socket.h>void error_handling(char*message); int main(i ...
分类:其他好文   时间:2021-02-09 12:11:39    阅读次数:0
pycharm报错集锦
1:positional argument follows keyword argument 转自:https://blog.csdn.net/weixin_42168614/article/details/88429838 出现这个bug的原因在于参数位置不正确,关键字参数必须跟随在位置参数后面! ...
分类:其他好文   时间:2021-02-09 12:09:23    阅读次数:0
MySQL的类型(自己常用)
int :整型,4个字节 double:浮点型,例如double(5,2)表示最多5位,其中2位为小数,即最大值为999.99。 varchar:可变长度字符串类型。varchar(10) ‘aaa’ 占3位 datetime:日期时间类型。yyyy-MM-dd hh:mm:ss char:固定长度 ...
分类:数据库   时间:2021-02-09 11:59:37    阅读次数:0
初见二叉树
第一次接触树,通过学习整理了一下内容: 基本概念 定义:树形结构是一种非线性结构,它的特点是:每个结点最多只有一个前驱,但可以有多个后继。 如图我们可以做以下解释 双亲和孩子 : 若a是b的前驱,则称a是b的双亲,b是a的孩子。 兄弟: 若b和c有共同的前驱,则称b和c互为兄弟。 分支结点和终端结点 ...
分类:其他好文   时间:2021-02-09 11:52:57    阅读次数:0
CameraMetaData
一、camera_metadata简介 Camera API2/HAL3架构下使用了全新的CameraMetadata结构取代了之前的SetParameter/Paramters等操作,实现了Java到native到HAL3的参数传递。引入了管道的概念将安卓设备和摄像头之间联系起来,系统向摄像头发送 ...
分类:Web程序   时间:2021-02-08 12:34:40    阅读次数:0
1307. Verbal Arithmetic Puzzle
问题: 给定一组字符串,和一个结果字符串,使用0~9对字母进行编码。 使得字符串数组相加后,结果=结果字符串。 求是否可能存在这样的编码。 Each character is decoded as one digit (0 - 9). Every pair of different characte ...
分类:其他好文   时间:2021-02-08 12:21:04    阅读次数:0
35907条   上一页 1 ... 35 36 37 38 39 ... 3591 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!