码迷,mamicode.com
首页 >  
搜索关键字:visaul stdio    ( 10042个结果
写一个函数,找出一个英文句子中的最长单词
之前程序实验课上遇到的一道题,由于没做出来,这里有答案后在此记录一下 这里答案是非函数的方法做的,后面我自己尝试着给改成了函数 #include <stdio.h> #include <string.h> int main() { char str[233]; //自定义一个数组 printf("输 ...
分类:其他好文   时间:2020-12-02 12:15:35    阅读次数:5
【C++】【十一】二叉树递归遍历与非递归遍历的实现及思路
大咖揭秘Java人都栽在了哪?点击免费领取《大厂面试清单》,攻克面试难关~>>> 非递归遍历实现思路: #include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> typedef struct LINK ...
分类:编程语言   时间:2020-12-02 12:09:38    阅读次数:8
实验四
// 一元二次方程求解 (函数实现方式) // 重复执行, 直到按Ctrl+Z结束 #include <math.h> #include <stdio.h> // 函数声明 void solve(double a, double b, double c); // 主函数 int main() { d ...
分类:其他好文   时间:2020-12-02 12:05:39    阅读次数:5
实验🧪四4??4厶
实验四 实验任务一、 // 一元二次方程求解(函数实现方式) // 重复执行, 直到按下Ctrl+Z结束 #include <math.h> #include <stdio.h> // 函数声明 void solve(double a, double b, double c); // 主函数 int ...
分类:其他好文   时间:2020-11-30 16:10:43    阅读次数:8
关于比特科技c语言的学习博客(1)
写代码1创建工程2创建路径3创建源文件4写代码写c代码时.c文件是源文件.h是头文件写helloworld时return0记得中间敲空格main是主函数从main开始执行也是程序的入口有且仅有一个int是整型的意思main前的int表示main函数调用返回一个整型值voidmain已经过时#include<stdio.h>包含一个叫stdio.h的文件尖括号必须有这是语法形式//std
分类:编程语言   时间:2020-11-27 11:41:36    阅读次数:9
测试第一个博客
测试第一个博客 献上基于C语言的数据结构之线性表 //线性表 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #define MAXSIZE 100 type ...
分类:其他好文   时间:2020-11-27 10:59:10    阅读次数:5
使用C语言实现用数组构建二叉树并遍历
#include <stdio.h> typedef struct Node { int data; struct Node* lchild; struct Node* rchild; }Node; typedef Node* BinTree; int array[] = {1,2,3,4,5,6, ...
分类:编程语言   时间:2020-11-27 10:52:16    阅读次数:17
P3366 【模板】最小生成树(Prim)
https://www.luogu.com.cn/problem/P3366 1 #define IO std::ios::sync_with_stdio(0) 2 #include <bits/stdc++.h> 3 #define pb push_back 4 using namespace s ...
分类:其他好文   时间:2020-11-26 15:24:23    阅读次数:48
测试1
#include<stdio.h> int main(void){ int i,j,sum,allsum; for(j=1;j<=50;j++) {sum=0; for(i=1;i<=j;i++) sum+=i; allsum+=sum; } printf("%d",allsum); return ...
分类:其他好文   时间:2020-11-26 15:02:26    阅读次数:5
测试2
#include<stdio.h> int main(void){ int a,b,c,d,i=0; for(a=0;a<=9;a++) for(b=0;b<=9;b++) for(c=0;c<=9;c++) for(d=0;d<=9;d++) if((10a+b)(10c+d)==(10b+a)( ...
分类:其他好文   时间:2020-11-26 15:00:57    阅读次数:6
10042条   上一页 1 ... 30 31 32 33 34 ... 1005 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!