题目//在主类中 main 方法必须是 public static void 的,在 main
中调用非static类时会有警告信息,//可以先建立对象,然后通过对象调用方法:import java.io.*;import
java.util.*;import java.math.*;public ...
分类:
编程语言 时间:
2014-05-01 21:32:08
阅读次数:
445
http://www.cmake.org/cmake/help/v2.8.8/cmake.htmladd_executable的作用是指示CMake生成一个可执行文件add_library的作用是指示CMake生成一个库,根据参数SHARED还是STATIC来决定生成动态库还是静态库include_...
分类:
其他好文 时间:
2014-05-01 21:19:44
阅读次数:
418
一 设置, 查看, 删除断点信息b xxx.cpp : num(or function)在
xxx.cpp 的第 num 行设置断点, 假如项目中只有一个 .cpp 文件, 不需要指定 xxx.cpp, 直接 b num 即可info break
查看断点信息, 断点信息中有断点的 index, 通...
分类:
数据库 时间:
2014-05-01 21:09:59
阅读次数:
433
function changeBottomTimeScale(value) {
gantt.setBottomTimeScale(value)}
分类:
其他好文 时间:
2014-05-01 21:04:50
阅读次数:
349
c#实现pdf另存为功能/// /// PDF另存为效果/// /// PDF文件名///
另存结果文件名public static void PDFSaveAs(String fileName, string saveFileName){
Acrobat.CAcroPDDoc pdfDoc ...
分类:
其他好文 时间:
2014-05-01 20:21:59
阅读次数:
520
版本不对的原因。具体在10.5.9下修改此参数即可解决问题。LoadFunction()
has an ACritical parameter. It is set to True by default, but can be set to
False for individual function...
分类:
系统相关 时间:
2014-05-01 20:14:57
阅读次数:
594
/**js Unicode编码转换*/vardecToHex =function(str)
{varres=[];for(vari=0;i < str.length;i++)
res[i]=("00"+str.charCodeAt(i).toString(16)).slice(-4);return"...
分类:
Web程序 时间:
2014-05-01 19:36:51
阅读次数:
427
Keyboard inputPython provides a build-in
function called raw_input (in version 2.x) that gets input from the keyboard. In
Python 3.x we use input(). W...
分类:
其他好文 时间:
2014-05-01 19:23:26
阅读次数:
392
RecursionIt is legal for one function to call
another; it is also legal for a function to call itself. It may not be obvious
why what is a good thing,...
分类:
其他好文 时间:
2014-05-01 18:40:44
阅读次数:
302
我们可以使java像c语言那样输入输出,printf(); 好神奇~~
首先建立 Print .java放入包gao.com中
package com.gao;
import java.io.*;
public class Print {
// Print with a newline:
public static void print(Object obj) {
...
分类:
编程语言 时间:
2014-04-30 22:13:39
阅读次数:
344