码迷,mamicode.com
首页 >  
搜索关键字:go hello world    ( 32654个结果
C语言宏#和##
C语言宏#和##一、基本用途#用于将宏定义中的参数转换为字符串。例:存在宏#define TO_STRING(x) #x则TO_STRING(hello)展开为"hello"##用于拼接Token。例:存在宏#define DECLARE_HANDLER(x) x##_handler则DECLARE...
分类:编程语言   时间:2014-05-27 00:19:05    阅读次数:357
Not Too Impressed With The Runway Bags This Year
I B? These laptop bags pupils a strong, durable and resistant to exposure from day to day, for students to go to bags, such as laptop computers remain...
分类:其他好文   时间:2014-05-26 23:49:39    阅读次数:533
Linux 设备驱动程序 proc
不能再简化了#include#include#includeint meng_read_proc(char*page,char**start,off_t offset,int count,int*eof,void*data){ char*s="Hello. This is meng p...
分类:系统相关   时间:2014-05-26 15:52:49    阅读次数:463
判断闰年(go语言版本)
1 import "strconv" 2 3 func IsLeapYear(y string) bool { //y == 2000, 2004 4 //判断是否为闰年 5 year, _ := strconv.Atoi(y) 6 if year%4 == 0 && y...
分类:其他好文   时间:2014-05-26 15:12:52    阅读次数:230
c起步之hello world!
基本上最初的编程都会拿hello world来说事,其实能简单的运行出它来,c的编程环境就慢慢熟悉起来了。1.现在已经基本没有纯粹的c编译环境了,都是用兼容c++的编译工具来编译c,所以创建的都是c++模板;2.在vs2008 中建立一个project(c代码)步骤:1.file——new--pro...
分类:其他好文   时间:2014-05-26 14:42:19    阅读次数:203
内存分区
1 #include 2 #include 3 4 int k=1; 5 int main() 6 { 7 int i=1; 8 char *j; 9 static int m=1;10 char *n="hello";11 12 printf("栈区地址...
分类:其他好文   时间:2014-05-26 14:24:28    阅读次数:201
gosslary
TM,技术手册(Technical Manual);商标(trademark)
分类:其他好文   时间:2014-05-26 13:50:23    阅读次数:265
风景在路上
再过几个小时,就要参与2010级学生毕业设计的验收工作了。“产品”验收通过了,学生将进入写毕业设计说明书(论文)阶段。  在毕业设计环节,以前有过为一名学生从“Hello world”开始示范的经历,也有过黑着脸将“做不出来从我名下你就不要答辩”的苛刻,最终这两名学生都获得了他们在大学中从未有过的“成功”体验。是我的坚持,兑现了向他们“跟着我好好干,保你过”的承诺,实现了“在原有基础上得到提高”的...
分类:其他好文   时间:2014-05-23 01:41:02    阅读次数:269
node.js 和 node-webkit C++扩展方法
构建node扩展的方法: 1,安装node.js 版本为0.10.24.msi 2,安装node-gyp, npm install -g node-gyp 3,构建 hello工程 cd 到 node-gyp-hello\src node-gyp configure node-gyp build 构建node-webkit扩展的方法: 1,安装node.js 版本为0.10...
分类:编程语言   时间:2014-05-22 23:38:12    阅读次数:377
JS常用字符串处理方法总结
1.indexOf()方法,从前往后查找字符串位置,大小写敏感,从0开始计数。同理,lastIndexOf() 方法从后往前,两个方法对于相同的检索条件输出的结果是一样的 例如: var str="Hello World!" document.write(str.indexOf("Hello"))//输出0 document.write(str.indexOf("World"))/...
分类:Web程序   时间:2014-05-22 22:54:50    阅读次数:313
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!