C语言程序设计教程(第三版)课后习题10.3 (C语言) 摘要:/* 把a[0]默认为最小值, a[9]默认为最大值, 再一个个对比,更小的数放入a[0], 更大的数放入a[9]。*/#include <stdio.h> //导入输入数 void scan…… 文章列表 2021年10月27日 0 点赞 0 评论 514 浏览 评分:9.9
1047: [编程入门]报数问题 摘要:#include<stdio.h> int main(){ // n表示几个人围一圈, flog数组进行标识(谁被剔除),s数组表示记录报数的人,index表示位置,count表示剔除的人数…… 文章列表 2021年10月27日 0 点赞 0 评论 284 浏览 评分:9.9
做题技巧-C语言 摘要:#### 常用代码技巧 ##### 1. EOF C语言中,`EOF`常被作为`文件结束的标志`。 宏`EOF`的值就是`-1`. ASCII代码值的范围是`0~127`,不可能出现`-1`,…… 文章列表 2021年10月28日 0 点赞 0 评论 534 浏览 评分:9.9
TCP网络编程之http请求 摘要:公共头文件:#pragma once #include<stdio.h> #include<stdint.h> #include<string.h> #include<unistd.h> #…… 文章列表 2021年10月29日 0 点赞 0 评论 281 浏览 评分:9.9
TCP网络编程之静态进程池 摘要:公共代码:#pragma once #include<stdio.h> #include<stdint.h> #include<string.h> #include<unistd.h> #i…… 文章列表 2021年10月29日 0 点赞 0 评论 514 浏览 评分:9.9
从字符串中提取元音字母输出 摘要:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char a[100]; char b[100]; …… 文章列表 2021年10月31日 0 点赞 0 评论 623 浏览 评分:9.9
Fibonacci数列的迭代,递归和动态规划。 摘要:迭代:#include <stdio.h>#include <stdlib.h>int main(){ int i = 1,j = 1,temp,n,N,x; scanf("%d",&N)…… 文章列表 2021年10月31日 0 点赞 1 评论 241 浏览 评分:9.9
WinPcap编程之旅一 摘要:开发环境准备:1、安装 WinPcap_4_1_3.exe 驱动2、WinPcap开发包3、QT6开发环境4、参考博客:https://www.cnblogs.com/blacksword/archi…… 文章列表 2021年11月01日 0 点赞 0 评论 612 浏览 评分:9.9
WinPcap编程之旅五 摘要: 前面都是讲解如何获取适配器信息以及捕获数据包,从这一节开始讲一下WinPcap中更强大的一些特性。本节主要讲一下如何利用WinPcap来过滤数据包。在WinPcap中用来过滤数据包的函数有两个,p…… 文章列表 2021年11月02日 0 点赞 0 评论 423 浏览 评分:9.9
精品文章 在01背包问题中,dp算法做了什么 摘要:在写这一片博客的时候,我抱着和大家一起学习的心态,发表一些自己的看法,希望有小伙伴能够主动提出我的不足。 下面进入正题... ## 变量 ```cpp const int MAX = 10…… 文章列表 2021年11月03日 0 点赞 0 评论 447 浏览 评分:9.9