分页: 1 / 1
请问如何在L环境下运行C程序 ??
发表于 : 2007-05-23 21:28
由 cjy
是不是需要安装C语言软件,还是可以直接运行呢?
发表于 : 2007-05-23 21:32
由 thebeet
安装gcc就可以编译
发表于 : 2007-05-23 22:15
由 suncanoe
1.使用gcc编译
2.chmod +x compiledfile //给予执行权限。
3. bash < compiledfile // 运行程序
or ./compiedfile
发表于 : 2007-05-23 22:17
由 vvoody
sudo apt-get install build-essential
gcc -o test.c test
./test
发表于 : 2007-05-23 23:17
由 stlxv
发表于 : 2007-05-24 1:08
由 左转左转左转左
1,写.c/.cpp文件
2,gcc/g++编译
3,运行
前两天一直在写的是c,没用g++
发表于 : 2007-05-24 1:28
由 stlxv
左转左转左转左 写了:1,写.c/.cpp文件
2,gcc编译
3,运行
...you said nothing
and , cpp是用g++来编译而不是用gcc
发表于 : 2007-05-24 1:37
由 左转左转左转左
stlxv 写了:左转左转左转左 写了:1,写.c/.cpp文件
2,gcc编译
3,运行
...you said nothing
and , cpp是用g++来编译而不是用gcc
真是……,还比不上水王您吗
发表于 : 2007-05-24 11:01
由 stlxv
左转左转左转左 写了:stlxv 写了:左转左转左转左 写了:1,写.c/.cpp文件
2,gcc编译
3,运行
...you said nothing
and , cpp是用g++来编译而不是用gcc
真是……,还比不上水王您吗
你什么意思?
发表于 : 2007-05-24 17:51
由 dbzhang800
发表于 : 2007-05-24 19:01
由 stlxv