V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  pright  ›  全部回复第 19 页 / 共 19 页
回复总数  378
1 ... 10  11  12  13  14  15  16  17  18  19  
2013-09-01 18:47:12 +08:00
回复了 zxia10x 创建的主题 问与答 linux下打包怎么忽略所有隐藏目录?
find foo -type d -name '.*' > exclude
tar cvfX foo.gz exclude foo
这边好像都没人用gitblit的吗
2013-08-31 10:56:47 +08:00
回复了 Ansonyi 创建的主题 奇思妙想 有木有将Android手机变成Android机顶盒的固件呢?
或者用mirrorop之类的app镜像控制
2013-08-31 10:53:26 +08:00
回复了 Ansonyi 创建的主题 奇思妙想 有木有将Android手机变成Android机顶盒的固件呢?
@zhangsimon 用另一台手机通过dlna推送就行了
2013-08-30 12:23:56 +08:00
回复了 jseanj 创建的主题 程序员 在shell下生成图案怎么生成
ascii图吗?你可以试试figlet
2013-08-30 12:06:50 +08:00
回复了 banxi1988 创建的主题 程序员 正纠结于返回错误的格式
两种同时提供就好了,参看google的json风格指南(http://google-styleguide.googlecode.com/svn/trunk/jsoncstyleguide.xml)
{
"error":{
"code": 404
"message": "File Not Found",
"errors": [{"message": "File Not Found"}]
}
}
2013-08-07 14:10:55 +08:00
回复了 itfanr 创建的主题 C C语言如何用指针的指针打印二维数组?
@itfanr 因为标准是这样的,某类型的数组只会转换为该类型的指针,对应二维数组只会转换为一维数组指针,int[3][2]->int(*)[2]。所以要么按内存排布自己处理,要么强转回原始类型
729 Except when it is the operand of the sizeof operator or the unary & operator, or is a string literal used to initialize an array, an expression that has type “array of type” is converted to an expression with type “pointer to type” that points to the initial element of the array object and is not an lvalue.
http://c0x.coding-guidelines.com/6.3.2.1.html
2013-08-06 11:58:15 +08:00
回复了 itfanr 创建的主题 C C语言如何用指针的指针打印二维数组?
所以要强转啊
2013-08-05 23:04:18 +08:00
回复了 itfanr 创建的主题 C C语言如何用指针的指针打印二维数组?
@jiych 这种方式在64位机器就不对了
2013-08-05 22:57:23 +08:00
回复了 itfanr 创建的主题 C C语言如何用指针的指针打印二维数组?
@itfanr 很久不用vc了,没印象了,支持c99的话就有
2013-08-05 11:52:08 +08:00
回复了 itfanr 创建的主题 C C语言如何用指针的指针打印二维数组?
用gcc的话可以用变长数组,不过不推荐
void myPrint(const int **vect, int row, int col)
{
int i, j;
int (*array)[col] = (int (*)[col])vect;

for (i=0; i<row; ++i)
{
for (j=0; j<col; ++j)
{
printf("%d ", array[i][j]);
}
}
}
2013-07-31 22:40:48 +08:00
回复了 catsky 创建的主题 程序员 设计REST API: 一个REST api里面传递多个同名参数合理吗
2013-03-21 03:24:26 +08:00
回复了 funcman 创建的主题 程序员 #if defined(A) || defined(B) 为啥无效?
没问题啊
2013-03-18 13:10:09 +08:00
回复了 jeeson 创建的主题 程序员 有没人打算实现 Google Reader 2.0, 或者评估一下可行性?
@brett80 装插件只是为了方便直接进吧,你直接输http://www.feedly.com/home进就不会提示你装插件了
2013-03-18 02:06:13 +08:00
回复了 jeeson 创建的主题 程序员 有没人打算实现 Google Reader 2.0, 或者评估一下可行性?
@brett80 加星的会进Feedly的Saved里面
现在完全依赖fuzzyfinder插件,以前用source insight用得最多的就是f7全局tag和C_o快速打开文件,这两个fuzzyfinder都能做到,所以平移过去没多大困难,就是看函数关联有点麻烦,cctree插件好像有问题,太大的工程读取cscope.out会失败。
2013-03-17 14:59:41 +08:00
回复了 jeeson 创建的主题 程序员 有没人打算实现 Google Reader 2.0, 或者评估一下可行性?
sorry,是feedly
2013-03-17 14:58:40 +08:00
回复了 jeeson 创建的主题 程序员 有没人打算实现 Google Reader 2.0, 或者评估一下可行性?
已经更换feely用了,可以直接连接google账号,加星的也能被同步过去
1 ... 10  11  12  13  14  15  16  17  18  19  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   799 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms · UTC 22:20 · PVG 06:20 · LAX 15:20 · JFK 18:20
Developed with CodeLauncher
♥ Do have faith in what you're doing.