摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleAppConvert { class Program { static void Main(string[] args) { ... 阅读全文
摘要:
HTML实现调用百度在线翻译API 本文章已收录于: 本文章已收录于: 本文章已收录于: 本文章已收录于: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Translate</title> </head> 阅读全文
摘要:
// signUnsignCompare.cpp : Defines the entry point for the console application. // #include "stdafx.h" int main(int argc, char* argv[]) { int i=-5; unsigned int j=0; if (i>j) { ... 阅读全文
摘要:
New Document 阅读全文
摘要:
// refPoint.cpp : Defines the entry point for the console application. // #include "stdafx.h" int main(int argc, char* argv[]) { int i=2,j=3; int *p=&i; int &r=*p; printf("%d\n",r);... 阅读全文
摘要:
cd /d "D:\Workspaces\MyEclipse 10" del ".metadata\.plugins\org.eclipse.core.runtime\.settings\com.genuitec.eclipse.ast.deploy.core.prefs" cd /d "D:\Wo 阅读全文
摘要:
\>tasklist /m explorer*映像名称 PID 模块 explorer.exe 4092 EXPLORERFRAME.dll iexplore.exe 7384 explorerframe.dll OUTLOOK.EXE 8572 explorerframe.dll \>taskli 阅读全文
摘要:
D:\learnProg\Ruby>irb#浮点数转换成整数,会强行去掉小数点后面的数字 irb(main):017:0> 123.45.to_i => 123 #整数转换成浮点数,会添加小数点和0 irb(main):018:0> 123.to_f => 123.0 #整数转换成字符串 irb(m 阅读全文
摘要:
ruby1.9以上,retry只能支持在rescue里面使用,不支持在block里面用;你要去用ruby1.8 rescue使用代码例子 Trying to do somethingoops:0!!!!!!Trying to do somethingoops:1!!!!!!Trying to do 阅读全文
摘要:
Ruby 演示break 1a 2b; end 演示next 1a 3b 4b 演示redo 1a 2b 3b 4b Output completed (0 sec consumed) - Normal Termination 阅读全文