登录 | 首页 -> 华新鲜事 -> 社会百科 | 切换到:传统版 / sForum | 树形列表
About Linux:
<<始页  [1]  末页>> 

About Linux:Courious about Linux, I spent a whole day and whole night to install Linux redhat 8.0.

Finaly I made it run,:), however, there're dozens of problems to be settled.:(

1. Can anyone tell me how to input Chinese ?

2. I wrote my first program and compiled it. I typed "g++ hello.cpp" and got the output

a.out, but when I tried to run the program by typing a.out at the prompt. A warning appeared:

bash a.out: command not found. Can anyone tell me why?

3 more questions are coming. :)

Thank you !

[魅力十足 (3-30 20:03, Long long ago)] [ 传统版 | sForum ][登录后回复]1楼

for q2. try ./a.out[河上 (3-30 20:20, Long long ago)] [ 传统版 | sForum ][登录后回复]2楼

(引用 河上:for q2. try ./a.out):) :) :) Thank you ! I just found out the solution. ^_^

I went to Macromedia to download its flash player, and from the instructions I found

if you want to run a program, you should type ./ before the program. This is to

distinguish command and program. Am I right?


Thank you very much!!!! You are so kind!!!
[魅力十足 (3-30 20:25, Long long ago)] [ 传统版 | sForum ][登录后回复]3楼

你用的是graphic模式,还是text 模式?请教该怎样进行相互转换, 从text-> graphic or graphice --> text.
thanks!
[hchen2002 (3-30 21:06, Long long ago)] [ 传统版 | sForum ][登录后回复]4楼

你用的是graphic模式,还是text 模式?请教该怎样进行相互转换, 从text-> graphic or graphice --> text.
thanks!
[hchen2002 (3-30 21:06, Long long ago)] [ 传统版 | sForum ][登录后回复]5楼

question 1.change locale to zh_cn

RH8 has a input method called miniChinput
go to find th rpm & install
[lonelywolf (3-30 23:36, Long long ago)] [ 传统版 | sForum ][登录后回复]6楼

(引用 hchen2002:你用的是graphic模式,还是text 模式?请教该怎样进行相互转换, 从text-> graphic or graphice --> text. thanks!)change the run levelgraphic is 5 text is 3

go /etc/inittab
change the line
id:N:initdefault:
N is the runlevel
[lonelywolf (3-30 23:39, Long long ago)] [ 传统版 | sForum ][登录后回复]7楼

(引用 hchen2002:你用的是graphic模式,还是text 模式?请教该怎样进行相互转换, 从text-> graphic or graphice --> text. thanks!)q2-->1.You can use ./a.out
2.To use a.out to run the excutable, you can add current working directory to the path;you can temporarily change the path by command "export PATH=$PATH:./" if you want to change the path permanently, you should edit some system fiels.
[cigar (4-1 16:31, Long long ago)] [ 传统版 | sForum ][登录后回复]8楼

q21.You can use ./a.out
2.To use a.out to run the executable, you can add current working directory to the path;you can temporarily change the path by command "export PATH=$PATH:./" if you want to change the path permanently, you should edit some system fiels.
[cigar (4-1 16:32, Long long ago)] [ 传统版 | sForum ][登录后回复]9楼


<<始页  [1]  末页>> 
登录 | 首页 -> 华新鲜事 -> 社会百科 | [刷新本页] | 切换到:传统版 / sForum