摘要:
Q: #includeint main(){char A,B,C,D,s;float z;float x,y;printf("if you want add input A\nsubtraction input B\nThe multiplication input C\ndivision input D\n");scanf("%c",&s);scanf("%f%f",&x,&y);if (s=... 阅读全文
摘要:
http://www.233.com/ncre2/C/ 阅读全文
摘要:
http://www.233.com/ncre2/JAVA/ 阅读全文
摘要:
字节流 1. FileInputStream FileOutputStream通过字节流来读写文件 [java] view plaincopy public static void main(String[] args) throws Exception { //将文件里写数据 File f = new File("d:\\dmeo.txt"); FileOutputStream outpu... 阅读全文
摘要:
import java.io.*; import java.io.*;class Main{ public static void main(String[] args) throws IOException{ // File path=new File("e:\\liudan... 阅读全文
摘要:
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ File path=new File("D:\\jlp1\\jlp2"); File file... 阅读全文
摘要:
#includemain(){int jiech(int n);int n;printf("n:\n");scanf("%d",&n);printf("%d!=%d\n",n,jiech(n));}int jiech(int n){int z;if(n==0)z=1;elsez=n*jiech(n-... 阅读全文
摘要:
#includemain(){int g(int n);int n;printf("请输入第n个人:\n");scanf("%d",&n);printf("第五个人的年龄:%d\n",g(n));}int g(int n){int z;if(n==1)z=10;elsez=g(n-1)+2;retu... 阅读全文
摘要:
import java.awt.*;import javax.swing.*;public class Test { String[] str={"1","2","3","4","5","6","7","8","0"}; int i=0; JLabel[]Jl=new JLabel[9]; JPanel jp; JLabel[]J2=new JLabel[2]; JLabel[]J3=new JL... 阅读全文
摘要:
http://www.cnblogs.com/lpjia/JAVA黑马http://java.itheima.com/java/service/javacourse.shtml 阅读全文