先看一个简单的例子
代码:
// ConsoleApplication3_6_23.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
#include
using namespace std;
using namespace cv;...
分类:
其他好文 时间:
2014-06-27 23:52:41
阅读次数:
406
今天学习了node.js ,来看一下hello world 的写法。1. 首先安装node.js的驱动文件。 http://nodejs.org/2. a:安装好node之后,在CMD窗口输入node,再输入console.log('hello world.');3.调用文本文件。sample: 创...
分类:
Web程序 时间:
2014-06-27 18:29:12
阅读次数:
203
前面介绍了使用IO类实现文件读写的示例,其实在很多地方还需要使用到IO类,这里再以读取控制台输入为例子来介绍IO类的使用。控制台(Console)指无图形界面的程序,运行时显示或输入数据的位置,前面的介绍中可以使用System.out.println将需要输出的内容显示到控制台,本部分将介绍如何接受...
分类:
编程语言 时间:
2014-06-27 16:33:32
阅读次数:
321
答案1:The shell is a typical Unix program. It reads commands from the standard input and prints something on the standard output. This is simple and goo...
分类:
其他好文 时间:
2014-06-27 16:12:37
阅读次数:
260
1 staitc void Main(string[] args) 2 { 3 for(int i=1;i<=9;i++)//乘数 4 { 5 for(int j=1;j<=i;j++)//被乘数 6 { 7 Console.Write("{0}*{1}={2}...
分类:
其他好文 时间:
2014-06-27 13:58:40
阅读次数:
188
[2014-06-26 15:50:56 - ddms] Can't bind to local 8700 for debugger
一、BUG环境:macbookpro+eclipse+adt+adbWireless(MBP共享网络给Android手机)
二、影响:在下图中LogCat和Console标签页之间来回跳转,无法安逸查看LOG数据。
三、解决:
...
分类:
其他好文 时间:
2014-06-27 09:32:43
阅读次数:
436
Cocos2d-x v3.1 Hello world程序(四) 在上一篇文章中我们我们已经使用Cocos-Console工具生成了工程,本机生成的目录为:“D:\CocosProject\Tutorial”。我们进入该目录中,如下图: 本篇文章我们将使用Cocos2d-x引擎写一个最简单的工程——“...
分类:
其他好文 时间:
2014-06-26 18:50:36
阅读次数:
253
前端已经被玩儿坏了!像console.log()可以向控制台输出图片等炫酷的玩意已经不是什么新闻了,像用||操作符给变量赋默认值也是人尽皆知的旧闻了,今天看到Quora上一个帖子,瞬间又GET了好多前端技能,一些属于技巧,一些则是闻所未闻的冷知识,一时间还消化不过来。现分类整理出来分享给大家,也补充...
分类:
Web程序 时间:
2014-06-26 17:18:00
阅读次数:
214
// ConsoleApplication3_6_23.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
using namespace std;
using namespace cv;
Mat src,dst,gray;
int pro_typ...
分类:
其他好文 时间:
2014-06-26 06:46:25
阅读次数:
315