上一页 1 ··· 6 7 8 9 10
摘要: //方法一:通过集合类CPtrArray保存点的坐标响应WM_LBUTTONUP消息 在OnButtonUp()函数的代码CClientDC dc(this);//获得透明画刷并选中CBrush* brush=CBrush::FromHandle((HBRUSH)GetStockObject(NUL... 阅读全文
posted @ 2014-10-17 08:49 六月心悸 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: 安装完运行VC++6.0 时会出现Microsoft(R) Developer Studio 已停止工作 的错误,导致不能打开VC++应用程序。这是只要把VC++6.0的安装目录下的"MSDEV.EXE"重命名,随便取什么名字;然后右击 兼容模式选择"WINXP (SP2)或是 WINXP (SP3... 阅读全文
posted @ 2014-08-27 00:54 六月心悸 阅读(173) 评论(0) 推荐(0) 编辑
摘要: //java codingimport java.util.Scanner;/*** @author* 2014-5-22 下午04:29:56* 二分查找*/public class Binary_search {public static int device(int[] a,int c){in... 阅读全文
posted @ 2014-05-22 19:17 六月心悸 阅读(1089) 评论(0) 推荐(0) 编辑
摘要: package com.huiwen;import java.util.Scanner;/*** * 2011-5-12 下午02:56:09* 比较字符相等** 编写自定义的字符串一致性匹配方法,只要两个字符串包含同样的字符,* 不管字符的顺序如何,都认为两个字符串一致,如:”aabbcc”和”a... 阅读全文
posted @ 2014-05-21 22:56 六月心悸 阅读(920) 评论(0) 推荐(0) 编辑
摘要: /*若干个数 以“字符串形式‘从键盘输入,将其转换为 double 型,并求平均数*/import java.util.Scanner;public class Test_Exp1 {public static void main(String[] args) {Scanner input=new ... 阅读全文
posted @ 2014-05-18 19:21 六月心悸 阅读(323) 评论(0) 推荐(0) 编辑
摘要: import java.io.*;/** * @author lyx * 2014-5-12 下午05:09:57 * 获取文件夹 类 * FileInputStream-- 文件输入流 从文件中读取数据到内存中 , 用read()方法读取数据 * FileOutputStream-- 文件输出流... 阅读全文
posted @ 2014-05-13 20:05 六月心悸 阅读(1069) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10