#include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c:"); while(scanf("%f%f%f",&a,&b,&c)!=EOF){ ...
分类:
其他好文 时间:
2020-11-24 12:17:23
阅读次数:
9
8 1 #include<stdio.h> 2 int num[100]; 3 int main() 4 { 5 int x; 6 int cnt = 0; 7 scanf("%d", &x); 8 while(x) { 9 num[++cnt] = x % 10; 10 x = x / 10; 1 ...
分类:
编程语言 时间:
2020-11-24 12:15:10
阅读次数:
9
#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a, ...
分类:
其他好文 时间:
2020-11-24 12:14:01
阅读次数:
6
Base64代码 base64.c #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> // bindata待编码数据buffer base64 编码后数据 ...
分类:
其他好文 时间:
2020-11-24 12:13:36
阅读次数:
7
原项目代码如下 def data_filter(src=r'D:\material\data.json',des=r'D:\material\pro_data.json',db = r'D:\material\tnbs.db'): fw = open(des, 'w', encoding='utf- ...
分类:
其他好文 时间:
2020-11-23 12:38:04
阅读次数:
5
实验任务4#include<stdio.h> #include<math.h> int main() { int n,a,b,i,s; printf("Enter a number:"); scanf("%d",&n); while(n){ i=0; s=0; while(n!=0){ a=n%10 ...
分类:
其他好文 时间:
2020-11-23 12:22:09
阅读次数:
3
基本原理: 通过指针从头节点开始,将该链表的各节点依次接到临时指针的前面,然后返回临时指针所指向的地址。 算法分析: 第一:定义三个指针变量。一个用来存放下一个节点tem;一个用当做临时指针存放提取出来的节点h;一个用来指向该链表的头节点u。 第二:判断下一个节点(tem)是否为空,如果为不为空,则 ...
分类:
编程语言 时间:
2020-11-23 12:14:58
阅读次数:
8
MySQL5.6之后的版本在通过客户端连接或者备份时时都会有出现如下的一个警告: Warning: Using a password on the command line interface can be insecure. 在一些脚本操作中可能会造成一些干扰,这里介绍下两种方式来避免这个输出: ...
分类:
数据库 时间:
2020-11-23 12:08:06
阅读次数:
13
Dart语言的控制语句跟其他常见语言的控制语句是一样的,基本如下:
- **if 和 else**
- **for 循环**
- **while 和 do-while 循环**
- **break 和 continue**
- **switch 和 case**
- **assert** ...
分类:
编程语言 时间:
2020-11-23 12:01:42
阅读次数:
8
#include <math.h> #include <stdio.h> int main() { float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c"); while(scanf("%f%f%f",&a,&b,&c) !=EO ...
分类:
其他好文 时间:
2020-11-23 11:57:34
阅读次数:
4