Author Topic: About "Hello World",how to display  (Read 3816 times)

sheng12321

  • Guest
About "Hello World",how to display
« on: May 10, 2010, 03:46:56 pm »
I set up Fedora 10 on Vmware Workstation.
then yesterday i installed C::B

now ,when i try to run the simple progect ""Hello World"
 there is no response.

#include<iostream>
using namespace std;
void main()
{
   cout <<"hello world"<<endl;
}

no "hello world" displayed

why?

and now my fedora can't open  txt editor, which trouble me too


[attachment deleted by admin]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: About "Hello World",how to display
« Reply #1 on: May 10, 2010, 04:00:02 pm »
It seems you did not install xterm, what is needed as virtual terminal to run your program.
The most other vterm's can be used, too, but in this case you have to fix the parameters in "Settings -> Environment -> View".