摘要: c.cc文件:#include <iostream>#include <stdlib.h> #include <stdio.h>int main(int argc, char const *argv[]){ int a,b,c; a = atoi(argv[1]); //字符串转整数 b = atoi(argv[2]); c = a * b; char *outcome; sprintf(outcome,"%d",c); //整数转字符串 std::cout<<argv[1]<<"*"<& 阅读全文
posted @ 2013-04-30 18:11 catmelo 阅读(245) 评论(0) 推荐(0) 编辑
摘要: dash的快捷方式储存在/usr/share/applications/里,文件后缀是.desktop,以freemind.desktop的内容为例:[Desktop Entry]Version=1.0Name=FreeMindExec=/usr/bin/freemind %UTerminal=falseIcon=FreeMindWindowIconType=ApplicationMimeType=application/x-freemind;Categories=Office;GenericName=FreeMindComment=A free mind mapping tool自定义的图标 阅读全文
posted @ 2013-04-30 15:00 catmelo 阅读(551) 评论(0) 推荐(0) 编辑