摘要: 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=... 阅读全文
posted @ 2014-06-10 10:07 Liping的个人博客 阅读(246) 评论(0) 推荐(0) 编辑
摘要: http://www.233.com/ncre2/C/ 阅读全文
posted @ 2014-06-04 15:52 Liping的个人博客 阅读(240) 评论(0) 推荐(0) 编辑
摘要: http://www.233.com/ncre2/JAVA/ 阅读全文
posted @ 2014-06-04 15:51 Liping的个人博客 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 字节流 1. FileInputStream FileOutputStream通过字节流来读写文件 [java] view plaincopy public static void main(String[] args) throws Exception { //将文件里写数据 File f = new File("d:\\dmeo.txt"); FileOutputStream outpu... 阅读全文
posted @ 2014-06-04 15:30 Liping的个人博客 阅读(140) 评论(0) 推荐(0) 编辑
摘要: import java.io.*; import java.io.*;class Main{ public static void main(String[] args) throws IOException{ // File path=new File("e:\\liudan... 阅读全文
posted @ 2014-05-23 09:21 Liping的个人博客 阅读(130) 评论(0) 推荐(0) 编辑
摘要: import java.io.*; class Main{ public static void main(String[] args) throws IOException{ File path=new File("D:\\jlp1\\jlp2"); File file... 阅读全文
posted @ 2014-05-20 18:02 Liping的个人博客 阅读(109) 评论(0) 推荐(0) 编辑
摘要: #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-... 阅读全文
posted @ 2014-05-20 15:25 Liping的个人博客 阅读(145) 评论(0) 推荐(0) 编辑
摘要: #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... 阅读全文
posted @ 2014-05-20 15:12 Liping的个人博客 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-05-12 16:23 Liping的个人博客 阅读(131) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/lpjia/JAVA黑马http://java.itheima.com/java/service/javacourse.shtml 阅读全文
posted @ 2014-05-12 06:36 Liping的个人博客 阅读(151) 评论(0) 推荐(0) 编辑