代码搜索:printf
找到约 10,000 项符合「printf」的源代码
代码结果 10,000
www.eeworm.com/read/257948/11901485
c 9-4.c
#define int float
main()
{
int a=10.123;
clrscr();
printf("%5.3f",a);
}
www.eeworm.com/read/257948/11901573
c 2-27.c
#include"stdio.h"
main()
{
int i=0,j=0,t=0,sum=0;
int n,flag;
for(n=50;n
www.eeworm.com/read/154977/11908532
c adc841.c
//adc841.c
/*
Author: Eckart Hartmann Date:05/10/2003
Description of Software:
This program demonstrates the SAR ADC functions.
; AdcCfg() , AdcGotete() ,
; AdcBsy() , AdcRd()
; AdcCal() an
www.eeworm.com/read/343947/11917365
txt chengxu.txt
#include "stdio.h"
#include "math.h"
//输出函数
void print(double *a,int n)
{
int i,j;
for(i=0;i
www.eeworm.com/read/257622/11919326
c alg028_c.c
/*
* MULLER'S ALGORITHM 2.8
*
* To find a solution to f(x) = 0 given three approximations x0, x1
* and x2:
*
* INPUT: x0,x1,x2; tolerance TOL; maximum number of iterations NO.
*
* O
www.eeworm.com/read/154776/11927075
c idea.c
/*
* idea.c - C source code for IDEA block cipher.
* IDEA (International Data Encryption Algorithm), formerly known as
* IPES (Improved Proposed Encryption Standard).
* Algorithm developed by
www.eeworm.com/read/343768/11928399
txt c.txt
1.绘制余弦曲线
在屏幕上用“*”显示0~360度的余弦函数cos(x)曲线
*问题分析与算法设计
如果在程序中使用数组,这个问题十分简单。但若规定不能使用数组,问题就变得不容易了。
关键在于余弦曲线在0~360度的区间内,一行中要显示两个点,而对一般的显示器来说,只能按行输出,
即:输出第一行信息后,只能向下一行输出,不能再返回到上一行。为了获得本文要求的图形就必须在一 ...
www.eeworm.com/read/343725/11932677
c mkyaffs.c
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
* mkyaffs.c Format a chunk of NAND for YAFFS.
*
* Copyright (C) 2002 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engi
www.eeworm.com/read/343725/11932683
c gen-ecc.c
// Program to generate a column parity table for yaffs_ecc.c
// Generate a column parity byte for a byte.
// This byte is already aligned for the ecc.
// The output byte has the form:
// bit 7: p4