Code::Blocks Forums

User forums => Help => Topic started by: sheng12321 on May 10, 2010, 03:46:56 pm

Title: About "Hello World",how to display
Post by: sheng12321 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]
Title: Re: About "Hello World",how to display
Post by: Jenna 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".