搜索结果

找到约 37 项符合 scanf 的查询结果

VC书籍 函数分库函数和用户自定义函数两类: 库函数(又称系统函数)是高级语言软家中提供基础功能的函数。库函数文件以h为文件后缀

函数分库函数和用户自定义函数两类: 库函数(又称系统函数)是高级语言软家中提供基础功能的函数。库函数文件以h为文件后缀,如C语言的stdio.h文件包括了printf(), scanf (),open(),close()。C语言中主函数要使用某库函数:#include<库函数文件名> ...
https://www.eeworm.com/dl/686/393453.html
下载: 120
查看: 1117

教材/考试/认证 离散实验 一个包的传递 用warshall

 实验源代码 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("请输入矩阵第%d 行元素:",a); for(int b=0;b<n;b++) {& ...
https://www.eeworm.com/dl/512044.html
下载: 2
查看: 87

数据结构 成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread

成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread printf("請輸入分數\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績為A\n") else if(gread>=60&&gread<=79) { printf("成績為B\n") } else if(gread>=0&&gread<60) { printf("成績為C\n") } else ...
https://www.eeworm.com/dl/654/376202.html
下载: 161
查看: 1058

人工智能/神经网络 河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,in

河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,int) int main(void) { int n int option printf("題目二:河內塔問題\n") printf("請輸入要搬移的圓盤數目\n") scanf("%d",&n) printf("最少搬移的次數為%d次\n",fun_a(n)) printf("是否顯示移動過程? 是請輸入1, ...
https://www.eeworm.com/dl/650/376204.html
下载: 22
查看: 1116

源码 学生成绩管理啊

#include "string.h" #include "ctype.h" #include "stdio.h" search(char pd[]) {FILE *fp;  int time=0,i=0,j=0,add[80],k=0,m;  char *ch,  str[900];  m=strlen(pd);  if((fp=fopen("haha.txt","r"))==NULL)  {   printf("Cannot open this file\n");   exit(0);  } for( ...
https://www.eeworm.com/dl/513824.html
查看: 44

编译器/解释器 (1) 给定一段符合Pascal子集语法的语言

(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言; (2) 一个简单的说明文档; (3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录; (4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。 注意事项: (1) 两人一组 (2) 可以使用词法、语法自 ...
https://www.eeworm.com/dl/628/223986.html
下载: 135
查看: 1057

VIP专区 零基础开始“C语言和程序设计快速入门”视频课程,附课件

01 课程开场白---学什么,怎么学,C语言的重要性.mp4 02 计算机基础---程序执行原理和编译原理.mp4 03 计算机进制及计算机内存空间.mp4 04 字符在计算机中的编码原理及ACS码表的应用技巧.mp4 05 C开发环境简介及打造自己的C开发环境.mp4 06 用CodeBLOCKS创建第一个C工程及简单使用.mp4 07 两段C代码的比较-C语言规范 ...
https://www.eeworm.com/vipdownload/576.html

源码 利用栈的基本操作实现将任意一个十进制整数N转化为R进制整数。

#include <stdlib.h> #include<stdio.h> #include <malloc.h> #define stack_init_size 100 #define stackincrement 10 typedef struct sqstack { int *base; int *top; int stacksize; } sqstack; int StackInit(sqstack *s) { s->base=(int *)malloc(stack_init_size *sizeof(int)); if(!s->base) return 0; s->top=s->ba ...
https://www.eeworm.com/dl/513582.html
查看: 121

源码 数组子系统

#include <stdio.h> #include <stdlib.h> #define SMAX 100 typedef struct SPNode { int i,j,v; }SPNode; struct sparmatrix { int rows,cols,terms; SPNode data [SMAX]; }; sparmatrix CreateSparmatrix() { sparmatrix A; printf("\n\t\t请输入稀疏矩阵的行数,列数和非零元素个数(用逗号隔开):"); scanf("%d, ...
https://www.eeworm.com/dl/522521.html
下载: 1
查看: 106

源码 成绩查询系统

#include<stdio.h> #include<string.h> #include<stdlib.h> #define N 100 int iNumOfStu=0; struct score   {   float math;   float english;   float computer;   }; struct student   {   int number ...
https://www.eeworm.com/dl/520134.html
查看: 84