搜索结果
找到约 104 项符合
Printf 的查询结果
按分类筛选
- 全部分类
- 单片机开发 (15)
- 源码 (15)
- Linux/Unix编程 (10)
- 嵌入式/单片机编程 (5)
- VC书籍 (5)
- 其他嵌入式/单片机内容 (4)
- 微处理器开发 (4)
- 数学计算 (4)
- VIP专区 (4)
- 中间件编程 (3)
- 数据结构 (3)
- 其他 (3)
- 编译器/解释器 (3)
- 单片机编程 (2)
- Internet/网络编程 (2)
- uCOS (2)
- 磁盘编程 (2)
- 软件设计/软件工程 (2)
- C/C++语言编程 (2)
- 技术资料 (2)
- 文件格式 (1)
- 文章/文档 (1)
- 嵌入式Linux (1)
- 系统设计方案 (1)
- 汇编语言 (1)
- 人工智能/神经网络 (1)
- 操作系统开发 (1)
- 家庭/个人应用 (1)
- *行业应用 (1)
- Linux/uClinux/Unix编程 (1)
- 教材/考试/认证 (1)
- 软件 (1)
C/C++语言编程 C语言用户注册及登录
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
main(void)
{ &nbsp; char new_name[4], name[4];
&nbsp; &nbsp; int new_sn ,sn;
&nbsp; &nbsp; printf(" &nbsp; &nbsp; &nbsp; &nbsp;【注册】\n\n");
&nbsp; &nbsp; printf("请输入用户名(四位英文字母):");
&nbsp; &nbsp; scanf("%s", ...
单片机编程 STM8 Printf 例子
一个STM8入门例子,初学者的福音,包含库2.1版本,不可错过哦
教材/考试/认证 离散实验 一个包的传递 用warshall
&nbsp;实验源代码
//Warshall.cpp&nbsp;#include<stdio.h>&nbsp;void&nbsp;warshall(int&nbsp;k,int&nbsp;n)&nbsp;{&nbsp;int&nbsp;i&nbsp;,&nbsp;j,&nbsp;t;&nbsp;int&nbsp;temp[20][20];&nbsp;for(int&nbsp;a=0;a<k;a++)&nbsp;{&nbsp;printf("请输入矩阵第%d&nbsp;行元素:",a);&nbsp;for(int&nbsp;b=0;b<n;b++)&nbsp;{& ...
源码 利用栈的基本操作实现将任意一个十进制整数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 ...
源码 多项式计算代码
void DFS(MGraph G, int i)
{
&nbsp; &nbsp; int j;
&nbsp; &nbsp; visited[i] = TRUE;
&nbsp; &nbsp; printf("%c ", &nbsp; &nbsp;G.vexs[i]);
&nbsp; &nbsp; for (j=0; j<G.numVertexes; ++j)
&nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; if (G.arc[i][j]!=INFINITY &nbsp;&& &nbsp;!visited[j])
&nbsp; &nbsp; &nbsp; ...
源码 运动会源代码
#include&nbsp;<malloc.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#include&nbsp;<stdio.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#include&nbsp;<stdlib.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#include&nbsp;<string.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#define&nbsp;NULL&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp ...
软件 学生成绩查询
#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 ...
源码 学生成绩管理啊
#include "string.h"
#include "ctype.h"
#include "stdio.h"
search(char pd[])
{FILE *fp;
&nbsp;int time=0,i=0,j=0,add[80],k=0,m;
&nbsp;char *ch,
&nbsp;str[900];
&nbsp;m=strlen(pd);
&nbsp;if((fp=fopen("haha.txt","r"))==NULL)
&nbsp;{
&nbsp; printf("Cannot open this file\n");
&nbsp; exit(0);
&nbsp;}
for( ...
源码 java学生数据库
/*import java.util.Scanner;
//主类
public class student122 {
&nbsp;&nbsp;//主方法
&nbsp;&nbsp;public static void main(String[] args){
&nbsp;&nbsp;&nbsp;&nbsp;//定义7个元素的字符数组
&nbsp;&nbsp;&nbsp;&nbsp;String[] st = new String[7];
&nbsp;&nbsp;&nbsp;&nbsp;inputSt(st); &nbsp ...
源码 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){
&nbsp; ...