转载自:http://blog.csdn.net/onestep365/article/details/1897626#include #include
#include int main(){ char *str = (char *)malloc(100); strcpy(str, "hello"...
分类:
其他好文 时间:
2014-04-30 01:51:48
阅读次数:
427
package exp { object Main { def main(args:
Array[String]): Unit = { B[String].say("hello");
//B[String]后的括号可以省略,编译器知道这不是要用类型B而是要...
分类:
其他好文 时间:
2014-04-29 22:15:21
阅读次数:
500
2014.04.28module 首测1)环境:Centos release 6.5 (Final)
kernel:
2.6.32-358.23.2.e16.centos.plus.i6862)源文件及Makefile源文件:是一个入门的Hello.c文件,网上到处可以找得到。Makefile...
分类:
系统相关 时间:
2014-04-29 17:25:50
阅读次数:
634
hello everyone.This is a heading with no
positionThis heading is moved left according to its normal positionThis heading
is moved right according t...
分类:
Web程序 时间:
2014-04-29 15:47:14
阅读次数:
584
下坠的小鸟速算版是根据著名的像素鸟(flappy bird)改编而成的一款运行在pc
web上的游戏,它跟传统的玩法稍有不同,你必须时刻计算当前数字的倍数,以便为通过下一个数字缺口做准备,而不仅仅只是通过当前缺口。这不仅考验着您的速算功力,还对您的兼顾能力发起了挑战。ready?
Go!http:/...
分类:
移动开发 时间:
2014-04-29 14:50:47
阅读次数:
502
Hello World!My first blog! I must try my best
to learn Python!print ("Hello World")
分类:
其他好文 时间:
2014-04-29 09:41:46
阅读次数:
300
CString str;str = _T("hello
world!")USES_CONVERSION; //定义后才能使用T2Achar
buff[1024];sprintf_s(buff,1024,"%s\r\n",T2A(str));这样一种方式可能会使编码方式改变在转换回来的时候要注意WCH...
分类:
其他好文 时间:
2014-04-28 14:44:02
阅读次数:
503
在Linux下进行C语言编程,必然要采用GNU
GCC来编译C源代码生成可执行程序。一、GCC快速入门Gcc指令的一般格式为:Gcc [选项] 要编译的文件 [选项]
[目标文件]其中,目标文件可缺省,Gcc默认生成可执行的文件名为:编译文件.out我们来看一下经典入门程序"Hello World!...
分类:
其他好文 时间:
2014-04-28 03:26:12
阅读次数:
432