Linux编程
文章平均质量分 81
feilong1105
心中无敌,无敌于天下.
展开
-
Linux环境-程序参数
#include#includeint main(int argc,int argv[]){ int i; printf("argc:%d/n",argc); for(i = 0 ; i 在终端输入:1>gcc -o canshu canshu.c2>./canshu a b c d "and abcd"得到的结果是:argc:6argv:./canshuargv:aargv:bargv:cargv:dargv:and原创 2011-05-24 21:49:00 · 867 阅读 · 0 评论 -
安装Linux教程
随着微软的步步紧逼,包括早先的Windows黑屏计划、实施,逮捕番茄花园作者并判刑,种种迹象表明,中国用户免费使用盗版Windows的日子将不会太长久了,那么这个世界上有没有即免费又易用的操作系统呢?答案是有,那就是Ubuntu操作系统。 Ubuntu是一个流行的Linux操作系统,基于Debian发行版和GNOME桌面环境,和其他Linux发行版相比,Ubuntu非常易用,和Windows相容性很好,非常适合Windows用户的迁移,预装了大量常用软件,中文版的功能也较全,支持拼音输入法,预装了Fir转载 2011-05-26 07:10:00 · 1005 阅读 · 0 评论 -
To install the Linux (self-extracting) file
To install the Linux(self-extracting) fileFollow these instructions:1. Change the permission of the file youdownloaded to be executable. Type:chmoda+x jre-6u-linux-i586.bin refers to Java转载 2012-02-29 14:23:30 · 1240 阅读 · 0 评论 -
Installing Tomcat
Chapter 3. InstallingTomcatThis chapter coversdownloading and installing the Tomcat binaries on a Linux system.3.1.PrerequisitesBefore we begin, wewill need to have a Java 2 SDK installed. This转载 2012-02-29 14:24:05 · 956 阅读 · 0 评论 -
Install JDK 7 on Ubuntu desktop.
Task: InstallJDK 7 on Ubuntu desktop.Problem 1: Java version 7 is not available from Ubunturepositories for your Ubuntu version (prior to 11.10 Oneiric). You don’t see itneither via "UbuntuSoftware转载 2012-02-29 14:24:30 · 1738 阅读 · 0 评论 -
安装openSUSE之后启动XP
在/boot/grub/menu.lst的最后计入一下几行就可以了(前提是你的xp装在第一个主分区)tittle windows xprootnoverify (hd0,0)chainloader +1原创 2012-04-26 21:02:38 · 776 阅读 · 0 评论 -
How To Install Ubuntu 12.04 from USB Drive
Ubuntu 12.04 (code named as : Precise Pangolin) is a LTS release (right now only beta version is available, stable will be out in a couple of weeks) – with 5 years of official support and updates. So转载 2012-04-16 22:41:02 · 4606 阅读 · 0 评论 -
理解 pkg-config 工具
你在 Unix 或 Linux 下开发过软件吗?写完一个程序,编译运行完全正常,在你本机上工作得好好的,你放到源代码管理系统中。然后,告诉你的同事说,你可以取下来用了。这时,你长长的出了一口气,几天的工作没有白费,多么清新的空气啊,你开始飘飘然了。“Hi,怎么编译不过去?”你还沉浸在那种美妙的感觉之中,双臂充满着力量,似乎没有什么问题能难倒你的。正在此时,那个笨蛋已经冲着你嚷开了。“不会吧转载 2012-09-24 22:07:42 · 1360 阅读 · 0 评论