using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ConsoleApplication1{ class Program { static void Main(stri...
分类:
其他好文 时间:
2014-05-12 11:46:04
阅读次数:
215
?.class文件内的代码所在的文件的路径默认 1 举例1:读取项目根目录下的数据。 2
private static void readRoot() throws FileNotFoundException, IOException { 3
BufferedReader br = new ...
分类:
其他好文 时间:
2014-05-12 11:13:12
阅读次数:
283
实现很简单,直接上代码: 1 void
CCheckBoxTreeDlg::OnNMClickTree1(NMHDR *pNMHDR, LRESULT *pResult) 2 { 3 // TODO:
在此添加控件通知处理程序代码 4 CPoint point; 5 UINT...
分类:
其他好文 时间:
2014-05-12 11:07:03
阅读次数:
297
C#控制台测试 class Program { static void Main(string[]
args) { decimal rmb = Convert.ToDecimal(Console.ReadLine()); ...
分类:
其他好文 时间:
2014-05-12 10:42:25
阅读次数:
377
protected void Page_Load(object sender, EventArgs
e) { int value = 0;//初始值 Test(ref value); Response.Write(val...
分类:
其他好文 时间:
2014-05-12 10:36:16
阅读次数:
277
1 前言构造和绘制路径,能够在图形环境上画任意形状.2
代码实例ZYViewControllerView.m[plain]view
plaincopy-(void)drawRect:(CGRect)rect{//创建路径创建一个新的CGMutablePathRef类型的可变路径并返回其句柄。CGMu...
分类:
其他好文 时间:
2014-05-12 10:02:22
阅读次数:
308
1、选择表达式中的类型转换public class Test { public void static
main(String args[]){ int i = 5; System.out.println("Vlaue Is " + ((...
分类:
编程语言 时间:
2014-05-12 09:39:52
阅读次数:
294
这个函数让我在纸上画了半天才搞明白,把我的理解给大家分享下。void
CGContextAddArc(CGContextRef c, CGFloat x, CGFloat y, CGFloat radius, CGFloat
startAngle, CGFloat endAngle, int clo...
分类:
其他好文 时间:
2014-05-12 09:32:43
阅读次数:
266
如题. 1 namespace sanyuandemo 2 { 3 class Program
4 { 5 static void Main(string[] args) 6 { 7 DateTime dateTime = Da...
分类:
其他好文 时间:
2014-05-10 23:01:05
阅读次数:
304
1 void copyFile() 2 { 3 NSString
*home=NSHomeDirectory(); 4 NSString *path=[NSString
stringWithFormat:@"%@/desktop/oc.mp4",home]; 5 NSStr...
分类:
编程语言 时间:
2014-05-10 21:12:51
阅读次数:
368