码迷,mamicode.com
首页 >  
搜索关键字:switch break stringbuffer(char) 随机数范围    ( 52221个结果
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
整数拆分
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14391627.html 整数拆分 题目链接:https://leetcode-cn.com/problems/integer-break/ 题目 给定一个正整数 n,将其拆分为至少两个正整数的和,并使这些整 ...
分类:其他好文   时间:2021-02-09 12:30:48    阅读次数: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
Trees on the level UVA - 122
Trees are fundamental in many branches of computer science (Pun definitely intended). Current stateof-the art parallel computers such as Thinking Mach ...
分类:其他好文   时间:2021-02-08 12:29:55    阅读次数:0
52221条   上一页 1 ... 52 53 54 55 56 ... 5223 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!