代码搜索:printf
找到约 10,000 项符合「printf」的源代码
代码结果 10,000
www.eeworm.com/read/480611/6666918
cpp 8.13.cpp
//用选择法对数组中的10个整数按由小到大的顺序排序;
#include
int main()
{
void sort(int array[],int n);
int a[10],i;
printf("enter the array\n");
for(i=0;i
www.eeworm.com/read/480611/6666966
cpp 1.3.cpp
#include
int main()
{
int a,b,m;
scanf("%d,%d",&a,&b);
if(a>b)
m=a;
else
m=b;
printf("%d\n",m);
getchar();
getchar();
//getchar();
}
www.eeworm.com/read/480611/6667021
cpp 10.6.2.cpp
//用指针变量完成上题
#include
int main()
{
void inv(int *x,int n);
int i,a[10]={3,7,9,11,0,6,7,5,4,2};
printf("The ariginal array:\n");
for(i=0;i
www.eeworm.com/read/349895/6684242
c 105.c
#include
#include
#include
#include
int shoudsave=0 ;
int count1=0,count2=0,mark=0,mark1=0 ;
/*定义存储火车信息的结构体*/
struct train
{
char num[10];/*列车
www.eeworm.com/read/479520/6688133
c 9-1.c
/* 9-1.c可生成噪声的主程序 */
#define FALSE 0
#define TRUE 1
#include
main()
{
int snd; /* which sound to produce */
int cnt; /* number of times to repeat sound */
int note; /* Cur
www.eeworm.com/read/479520/6688169
c 13-7.c
/*13-7.c*/
#include
#include
union message{
int s1[1000];
int s2[100][10];
} user;
main(int argc,char *argv[])
{ FILE *fp1,*fp2;
int t,t2,flag;
if((toupper(*argv[3])==
www.eeworm.com/read/479583/6688900
cpp shudu.cpp
#include
#include
#include
#include //文件操作(文件流)
void main()
{
ifstream f1;//从文件中读信息(input from file)
ofstream f2;
f2.open("123.txt");
i
www.eeworm.com/read/479340/6691849
cpp 8-22.cpp
/*3208006411*/
#include
void main()
{
float sum(float array[],int );
int i,n=0;
float string[100];
float s;
printf("please input the array:\n");
for(i=0;;i++)
{scanf("%f",&string[i
www.eeworm.com/read/478987/6696665
c 8.c
#include "stdio.h"
#define M 200 /*范围*/
#define N ((M+1)/2) /*奇数的个数*/
main()
{
int i,j,a[N];
a[0]=2;
for(i=1;i
www.eeworm.com/read/478502/6708675
c rand.c
//Hou Ben Ng
//Oct 14, 2006
//CS200
/* This program is about making up a random number in the beginning,
and then hiden from the player to plays a game on DEAL or NO DEAL.
first is callin