搜索结果

找到约 104 项符合 Printf 的查询结果

C/C++语言编程 C语言用户注册及登录

#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> main(void) {   char new_name[4], name[4];     int new_sn ,sn;     printf("        【注册】\n\n");     printf("请输入用户名(四位英文字母):");     scanf("%s", ...
https://www.eeworm.com/dl/509083.html
下载: 1
查看: 168

单片机编程 STM8 Printf 例子

一个STM8入门例子,初学者的福音,包含库2.1版本,不可错过哦
https://www.eeworm.com/dl/510331.html
下载: 1
查看: 85

教材/考试/认证 离散实验 一个包的传递 用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
查看: 47

源码 利用栈的基本操作实现将任意一个十进制整数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
查看: 40

源码 多项式计算代码

void DFS(MGraph G, int i) {     int j;     visited[i] = TRUE;     printf("%c ",    G.vexs[i]);     for (j=0; j<G.numVertexes; ++j)     {         if (G.arc[i][j]!=INFINITY  &&  !visited[j])       ...
https://www.eeworm.com/dl/513812.html
下载: 1
查看: 4

源码 运动会源代码

#include <malloc.h>       #include <stdio.h>       #include <stdlib.h>       #include <string.h>       #define NULL 0    &nbsp ...
https://www.eeworm.com/dl/513814.html
下载: 2
查看: 9

软件 学生成绩查询

#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(;!feof(fp);i++) { str[i]=fgetc(fp); if(to ...
https://www.eeworm.com/dl/513823.html
下载: 2
查看: 16

源码 学生成绩管理啊

#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
查看: 10

源码 java学生数据库

/*import java.util.Scanner; //主类 public class student122 {   //主方法   public static void main(String[] args){     //定义7个元素的字符数组     String[] st = new String[7];     inputSt(st); &nbsp ...
https://www.eeworm.com/dl/514408.html
下载: 2
查看: 11

源码 c语言算法排序

1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib.h> void merge(int arr[],int low,int mid,int high){   ...
https://www.eeworm.com/dl/514507.html
下载: 1
查看: 15