E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
stdio.h
第十一实验:结构体
1.通讯录排序#include"
stdio.h
"structbirthday{intyear,month,day;};structpeople{charname[20];structbirthdayb;
黄科迪
·
2019-06-23 17:00
004 C/C++ 数据类型_类型别名
1#include"
stdio.h
"2#include"stdlib.h"34//这里定义了一个结构体.5structMyStruct16{7inta;8floatb;9};1011//这里定义了一个结构体和它的别名
IT菜鸟的博客
·
2019-06-22 16:00
003 C/C++ 数据类型_数组
#include"
stdio.h
"#include"stdlib.h"//数据类型的本质:固定大小内存块的别名.voidmain(){inta;//告诉编译器分配4个字节的内存.intb[10];//告诉编译器分配
IT菜鸟的博客
·
2019-06-22 15:00
002 C/C++ 数组的传递
计算数组的长度:intlength=sizeof(a)/sizeof(a[0]);如果通过显示取地址的方式传递数组的一部分元素时,请确保length的正确.CSamplecode:1#include"
stdio.h
IT菜鸟的博客
·
2019-06-22 13:00
作业十
编写主函数,并在其中调用函数splitfloat()*/#include"
stdio.h
"voidsplidfloat(floatx,int*in
马存成
·
2019-06-19 21:00
第十次作业
1.拆分#include"
stdio.h
"voidsplitfloat(floatx,int*intpart,float*fracpart);intmain(){floatx,f;inti;int*pi
黄振古
·
2019-06-19 20:00
实验十:指针
1.拆分实数#include"
stdio.h
"voidsplidfloat(floatx,int*intpart,float*fracpart);intmain(){floatx,f=0;inti=0;
黄科迪
·
2019-06-15 17:00
[作业]两个有序表合并为一个有序表
[作业]两个有序表合并为一个有序表#include"
stdio.h
"#include"malloc.h"typedefstructLNode{intdata;structLNode*next;}LNode
Hansking_
·
2019-06-12 15:14
[作业]单链表的创建、插入、删除、查找
[作业]单链表的创建、插入、删除、查找#include"
stdio.h
"#include"malloc.h"typedefstructLNode{intdata;structLNode*next;}LNode
Hansking_
·
2019-06-12 15:09
进出栈
//#include"
stdio.h
"#include"malloc.h"#include"process.h"#defineSTACK_INIT_SIZE100;//初始分配内存#defineSTACKINCREAMENT10
Hansking_
·
2019-06-12 15:59
[作业]折半查找
[作业]折半查找#include"
stdio.h
"#defineMAX_ARR100#defineLEN10typedefstruct{intr[MAX_ARR];intlength;}Table;voidCreatTable_Sq
Hansking_
·
2019-06-12 15:56
第九次作业
#include"
stdio.h
"intmain(void){inta[100][100],i,j,n;scanf("%d",&n);for(i=0;i
拉恒
·
2019-06-11 22:00
作业九
#include"
stdio.h
"intmain(void){inta[100][100],i,j,n;scanf("%d",&n);for(i=0;i
马存成
·
2019-06-11 22:00
第9次作业
#include"
stdio.h
"intmain(){inta[100][100],i,j,x,n;printf("输出n组:n=");scanf("%d",&n);for(i=0;i
小阿喜
·
2019-06-11 20:00
第九次作业
#include"
stdio.h
"intmain(){inta[10][10],i,j,n;printf("输出n行:");scanf("%d",&n);for(i=0;i
黄振古
·
2019-06-11 19:00
闰年判断
输入示例2000输出示例TRUE数据范围对于100%的数据,0
stdio.h"voidmain(intargc,char*argv[]){intn,a,b,c;sca
Lhw_666
·
2019-06-11 10:30
[作业]链式栈的进栈和出栈
//#include"
stdio.h
"#include"malloc.h"typedefstructLNode{intdata;structLNode*next;}LNode,LStack;voidLpush
Hansking_
·
2019-06-09 21:58
实验九:二维数组
杨辉三角形#include"
stdio.h
"intmain(){inta[100][100],i,j,x,n;printf("输出n组:n=");scanf("%d",&n);for(i=0;i
黄科迪
·
2019-06-09 16:00
第八次作业
1、输入正整数n,在输入n个整数,冲大到小输出#include"
stdio.h
"intmain(void){inti,j,t,x;intn,a[10];printf("Entern:");scanf("
黄振古
·
2019-06-09 16:00
C语言简易程序设计————9、九九乘法表
2.程序源代码:************/#include"
stdio.h
"
FLy_鹏程万里
·
2019-06-06 19:20
【基础编程】
———C
哈夫曼编码译码
/*实现初始化,建立Huffman树,并完成字符的编码*//*之前译码用for循环不能够重新复位遍历while更好用*/#include"
stdio.h
"#include"string.h"#defineN10
JStana
·
2019-05-28 18:26
实验记录
C Programming/
stdio.h
/fopen mode
modedescriptionstarts..rrbopenforreading(Thefilemustexist)beginningwwbopenforwriting(createsfileifitdoesn'texist).Deletescontentandoverwritesthefile.beginningaabopenforappending(createsfileifitdoesn't
juliosun
·
2019-05-23 04:08
C++/C
线索二叉树的建立以及遍历(先序、中序、后序)
/*测试main时要分开测试三种建立线索二叉树的方法在main函数建二叉树的时候用了三个变量建立三个二叉树却还是不能同时测试很迷**/#include"
stdio.h
"#include"stdlib.h
JStana
·
2019-05-22 18:33
实验记录
C/C++文件读写操作——FILE*、fstream、windowsAPI
一、流式文件操作这种方式的文件操作有一个重要的结构FILE,FILE在头文件
stdio.h
中定义如下:typedefstruct{intlevel;unsignedflags;ch
qq_1390906078
·
2019-05-20 17:30
c/c++
网络安全学习第7篇 - 缓冲区溢出
代码:#include"windows.h"#include"
stdio.h
"#include"string.h"charname[]="\x41\x41\x41\x41\x41\x41\x41\x41
那年白马啸西风
·
2019-05-14 21:16
网络安全
实验六:学生成绩统计系统
源代码:#include"
stdio.h
"floats[5][3];floataverage(floata,floatb,floatc){floatk;k=(a+b+c)/3;returnk;}voidprintave
KatouMegumin
·
2019-05-07 22:00
第九章指针
(NULL是在
stdio.h
头文件中定义的,代码值为0,为空指针,不指向任何单元。)数组名
&+¥
·
2019-05-06 21:00
sprintf的使用
srpintf()函数的功能非常强大:效率比一些字符串操作函数要高;而且更具灵活性;可以将想要的结果输出到指定的字符串中,也可作为缓冲区,而printf只能输出到命令行上~头文件:
stdio.h
函数功能
Do_Not_Ask_Me
·
2019-05-05 20:20
软件代码
sprintf的使用
srpintf()函数的功能非常强大:效率比一些字符串操作函数要高;而且更具灵活性;可以将想要的结果输出到指定的字符串中,也可作为缓冲区,而printf只能输出到命令行上~头文件:
stdio.h
函数功能
Do_Not_Ask_Me
·
2019-05-05 20:20
软件代码
这一周吃什么呢?
让程序帮你解决吃什么的人生难题吧源代码:#include"
stdio.h
"#include"stdlib.h"#include"time.h"intmain(){inti,k;srand((unsigned
KatouMegumin
·
2019-05-03 10:00
实验五
程序一源代码:#include"
stdio.h
"intadd(inta,intb){intc;c=a+b;returnc;}intminus(inta,intb){intc;c=a-b;returnc;
KatouMegumin
·
2019-04-22 16:00
实验四
程序一源代码:#include"
stdio.h
"intmain(){inta[10],s,k,j;printf("请输入10个整数:\n");for(s=0;sa[k+1]){j=a[k+1];a[k+
KatouMegumin
·
2019-04-22 15:00
实验三
程序一源代码:for循环#include"
stdio.h
"intmain(){inti,j;longs=0;for(i=22;i<=1002;i+=20)s+=i;printf("%ld\n",s);return0
KatouMegumin
·
2019-04-22 14:00
智能手机算法---1编写android helloworld
联系
[email protected]
手机介绍一下代码编译helloworld下面介绍三种方式编译linux,android系统mmm,ndkjhf.c#include"
stdio.h
"intmain
jhfyou
·
2019-04-21 18:44
将一副扑克牌顺序输出或乱序输出
源代码:#include"
stdio.h
"#include"stdlib.h"#include"time.h"intcard[52][2]={0};voidMixcard(){inti,j,k,l;srand
KatouMegumin
·
2019-04-15 22:00
block底层源码
1、block底层源码#include"
stdio.h
"intmain(){void(^block)(void)=^{printf("helloblock");};block();return0;}struct
Code_人生
·
2019-04-15 19:19
c语言函数的数组返回和指针返回
1先看看第一种,返回数组;#include"
stdio.h
"char*get_c(){charch[]="hello";//这是一个栈空间char*p;//这也是栈空间p=ch;printf("%x\n
HES_C
·
2019-04-13 10:52
fflush函数
函数名:fflush功能:清除读写缓冲区,需要立即把输出缓冲区的数据进行物理写入时头文件:
stdio.h
原型:intfflush(FILE*stream)其中stream是要冲洗的流fflush()会强迫将缓冲区内的数据写回参数
心跳包
·
2019-04-10 09:11
C语言
uC/OS-II源码解析(includes.h)
u010650845/article/details/62428296/***ver:2.52**file:INCLUDES.H**brief:头文件集合,其他.c文件都会包括该头文件*/#include//包含"
stdio.h
"C
dallas48
·
2019-04-09 13:55
UCOS-II
源码解析
C语言 文件操作(六)
根据ANSI标准,在
stdio.h
头文件中规定了
IT-蓝月
·
2019-04-07 13:26
C++
C
C/C++
《C语言学习笔记》数据的输入和输出
printf函数是一个标准库函数,它的函数原型在头文件"
stdio.h
"中。printf函数调用的一般形式为:printf(“格式控制字符串”,输出表列)。其中格式控制字符串用于指定输出格
付子旺
·
2019-04-01 00:00
c
C到C++的快速教程02
1.头文件:C++头文件不是以.h结尾,C语言中的标准库文件如math,h,
stdio.h
在C++中被命名为cmath,cstdio2.命名空间:为防止名字冲突(出现同名),C++引入名字空间(namespace
星空下聆听
·
2019-03-26 21:00
C程序输出 printf("%d %d",++j,j++);
#include"
stdio.h
"intmain(intargc,char**argv){intj=1;printf("%d%d",++j,j++);}&:在本程序中,首先定义了一个变量j,++j为j在当前代码行下加一并且返回
不如来根辣条
·
2019-03-25 15:21
读《程序是怎样跑起来的》第4章
1#include"
stdio.h
"2#include"stdlib.
笠侹凯树
·
2019-03-24 15:00
打开新世界的大门——初识c语言
#include——编译预处理指令
stdio.h
——系统的库文件,其中包含输入输出函数指令int——整形数据类型main——主函数每个程序有且仅有一个主函数,函数的执行总是从主函数开始printf——输出函数
莘莘
·
2019-03-22 21:22
C
C语言编程之家庭财务管理小程序
程序源码:#include"
stdio.h
"#include"dos.h"voidmain(){FILE*fp;structdated;floatsum,chm=0.0;intlen,i,j=0;intc
青春不迷、夜半听雨
·
2019-03-19 09:20
C语言程序
C语言编程之时间函数举例3
程序源码:#include"time.h"#include"stdlib.h"#include"
stdio.h
"voidmain(){charc;clock_tstart,end;time_ta,b;doublevar
青春不迷、夜半听雨
·
2019-03-19 09:40
C语言程序
从零开始一起学C语言(八)--编译预处理
2、包含头文件#include//从系统指定的目录寻找指定的
stdio.h
文件。#include“
stdio.h
”//在当前工程下寻找指定的
stdio.h
文件。3、宏定义#defineAB用B完
夜色正凄凉
·
2019-03-15 16:24
C语言编程之时间函数举例1
程序源码:#include"
stdio.h
"#include"time.h"voidmain(){time_tlt;/*definealonginttimevarible*/lt=time(NULL);
青春不迷、夜半听雨
·
2019-03-15 10:38
C语言程序
C语言编程学习
简单shellcode编写
#include"unistd.h"#include"
stdio.h
"char*buff[]={"/bin/sh",NULL
Bl0od
·
2019-03-14 16:00
上一页
52
53
54
55
56
57
58
59
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他