q2-->
登录 | 论坛导航 -> 华新鲜事 -> 社会百科 | 本帖共有 2 楼,分 1 页, 当前显示第 1 页 : 本帖树形列表 : 刷新 : 返回上一页
<<始页  [1]  末页>>
作者:cigar (等级:2 - 初出茅庐,发帖:296) 发表:2003-04-01 16:31:11  楼主  关注此帖
你用的是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.
Put your OWN COOL signature here!
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:cigar (等级:2 - 初出茅庐,发帖:296) 发表:2003-04-01 16:32:58  2楼
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 !
q2
1.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.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
论坛导航 -> 华新鲜事 -> 社会百科 | 返回上一页 | 本主题共有 2 篇文章,分 1 页, 当前显示第 1 页 | 回到顶部
<<始页  [1]  末页>>

请登录后回复:帐号   密码