代码搜索:println
找到约 10,000 项符合「println」的源代码
代码结果 10,000
www.eeworm.com/read/363289/9962880
java jiami.java
//*位移代换密码 凯撒密码变换
import java.io.*;
class Jiami{
public static void main(String args[])throws IOException{
char a[];//存放明文
char b[];//存放密文
BufferedReader br=new BufferedReader(new Input
www.eeworm.com/read/167540/9964047
c- c-localv.c-
/*
* test file localv.c-
* test local variables
*
*/
int main()
{
int i = 8;
char t = 'K';
t=t+i;
println(t);
return 0;
}
www.eeworm.com/read/167540/9964114
c- c-relation.c-
/*
* test logical relations (support '&&', '||', '!')
*
*
*/
int main()
{
int a=1,b=1;
if(a && b )
println("TRUE!");
else
println("FALSE!");
return 0;
}
www.eeworm.com/read/167540/9964127
c- c-switch.c-
/*
* test switch statement
*
*
*/
int main()
{
char a;
a='t';
switch(a){
case 1: a++;break;
case 2: a+=2; break;
case 't': a='q'; break; // so, a should be 'q'
www.eeworm.com/read/167540/9964161
c- c-func.c-
/*
* test functions
*
*/
int sum();
//declere the function type
int main()
{
int a, b;
a=50;
b=sum(a,50);
println(b);
return 0;
}
int sum(int x, int y)
//declare fun
www.eeworm.com/read/167540/9964188
c- c-struct.c-
/*
*
* test structure
*
*
*
*/
struct node{
int a[5];
int t;
} ;
struct node st;
int main()
{
struct node n[50];
st.a[1]=100;
n[1].a[2]=10;
st.t = 10 * n[1].a[2] + 9
www.eeworm.com/read/167540/9964252
c- c-recursive.c-
/*
* test file: recursive.c-
* test recursive call
*
* calculate sum of 1 to 100
*/
// username: yq11
int fun(int a);
int main()
{
int i = 100;
i = fun(i);
println("i="~i);
r