代码搜索:printf
找到约 10,000 项符合「printf」的源代码
代码结果 10,000
www.eeworm.com/read/253410/12225304
c t_ttyname.c
#include "apue.h"
int
main(void)
{
char *name;
if (isatty(0)) {
name = ttyname(0);
if (name == NULL)
name = "undefined";
} else {
name = "not a tty";
}
printf("fd 0: %s\n", name);
if (
www.eeworm.com/read/339538/12226952
c helloworld.c
#include
int main()
{
printf("Helloworld!!!!\n");
printf("hehehe~~~\n");
return 0;
}
www.eeworm.com/read/339483/12230477
sh cannon.sh
#!/bin/bash
# cannon.sh: Approximating PI by firing cannonballs.
# This is a very simple instance of a "Monte Carlo" simulation:
#+ a mathematical model of a real-life event,
#+ using pseudorandom nu
www.eeworm.com/read/339483/12230697
sh poem.sh
#!/bin/bash
# poem.sh: Pretty-prints one of the document author's favorite poems.
# Lines of the poem (single stanza).
Line[1]="I do not know which to prefer,"
Line[2]="The beauty of inflections"
Lin
www.eeworm.com/read/151112/12234687
c main.c
/*
* File: example1.c
*
* uC/OS Real-time multitasking kernel for the ARM processor.
*
* Simple example of using multiple tasks and mailboxes.
*
* Created by Marco Graziano (marco
www.eeworm.com/read/151112/12234706
c mboxmain.c
/*
* File: example1.c
*
* uC/OS Real-time multitasking kernel for the ARM processor.
*
* Simple example of using multiple tasks and mailboxes.
*
* Created by Marco Graziano (marco
www.eeworm.com/read/253251/12236053
txt 新建 文本文档.txt
void main()
{
int ab,b,g;
ab_2=5+b,b=2;
g=ab*b;
}
void#main#(#)#{#int#a#,#b#,#c#;#a_2#=#5#,#b#=#2#;#c#=#a#*#b#;#}#
int main {
bool a;
int b;//djfkjdkfkd
a=4>=3;
b=3++;
www.eeworm.com/read/150921/12245092
c 辅助变量法.c
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
void brmul(a,b,m,n,k,c)
int m,n,k;
double a[],b[],c[];
{ int i,j,l,u;
for (i=0; i
www.eeworm.com/read/339268/12245552
cpp bayes.cpp
#include
#include
#define pi 3.14159
#define p(x,t) exp(-(x-t)*(x-t)/20)/sqrt(20*pi)
void decision(){
int i,j,type,m,n,flag,state[5],index;
float xx,a[5][5],p[5],e[5],su
www.eeworm.com/read/339267/12245574
cpp chain.cpp
#include
#include
double a[10][10];
void Guass(int n){
int i,j,k;
double t;
for(k=0;k