473,224 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

A very simple hello world program wont execute in Linux.

Its just a hello world program.
Compile and build goes with no warning or error.

i type ./a.out and the shell just sits there. It doesnt hang but it
just sits there with no output.

I executed the program in ddd, execution window opened up and I got a
blank.
I executed the program using Anjuta same thing.
In all cases the program had no errors or warning. But there is no
execution.

I checked the permision of the files and it has execute for my user.

Help please?
Jul 19 '05 #1
3 4388

"penguinman" <ba******@linuxmail.org> wrote in message
news:96**************************@posting.google.c om...
Its just a hello world program.
Compile and build goes with no warning or error.

i type ./a.out and the shell just sits there. It doesnt hang but it
just sits there with no output.

I executed the program in ddd, execution window opened up and I got a
blank.
I executed the program using Anjuta same thing.
In all cases the program had no errors or warning. But there is no
execution.

I checked the permision of the files and it has execute for my user.

Help please?


Post your code.
Jul 19 '05 #2
"Bob Jacobs" <ne****@robertjacobs.fsnet.co.uk> wrote...

"penguinman" <ba******@linuxmail.org> wrote in message
news:96**************************@posting.google.c om...
Its just a hello world program.
Compile and build goes with no warning or error.

i type ./a.out and the shell just sits there. It doesnt hang but it
just sits there with no output.

I executed the program in ddd, execution window opened up and I got a
blank.
I executed the program using Anjuta same thing.
In all cases the program had no errors or warning. But there is no
execution.

I checked the permision of the files and it has execute for my user.

Help please?


Post your code.


I bet it's something like

#include <iostream>
using namespace std;
int main() {
cin >> "Hello world";
}

Victor
Jul 19 '05 #3
Bob Jacobs wrote:

Post your code.


The idiomatic response is, "My crystal ball is broken. Post the code."
We would also accept "There's a bug on line 42."

;-)

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Rahul Gandhi | last post by:
Hi guys, I'm trying to run small program helloworld.cpp. But i'm not getting any output on the stdout program is #include<iostream.h> main(){ cout<<"hello world"; }
3
by: Bore Biko | last post by:
Dear, I don't have enought money to by a original Visual C++, so I use Visual C++ 6.0 Enterprise edition, this version doesen't have a HELP. Most of my friends programmers praise C++, as a...
8
by: neil.fraser | last post by:
I'm looking for a lightweight dialog boxes from Python. JavaScript uses: alert(), confirm() and prompt() VB uses: MsgBox() and InputBox() EasyGui seemed perfect, but a "Hello World" application...
10
by: serge calderara | last post by:
Dear all, I need to build a web application which will contains articles (long or short) I was wondering on what is the correct way to retrive those article on web page. In orther words, when...
1
by: c_beginner | last post by:
yes, this is my how work question. Since I am lack in getting an assistance with my lab work I put this in this advance group. Sorry for the trouble I am making. Write a program to calculate the...
10
true911m
by: true911m | last post by:
This is a simple walkthrough to get PyInstaller up and running. I decided to give PI a try, because it claims to be more selective about what it bundles into its executable files by default, and...
10
by: Sourcerer | last post by:
I wrote this very simple code in .NET VC++. I compiled it on my system, and tried to run it on my friend's computer (he doesn't have the compiler). We both have Windows XP Professional. I have .NET...
6
by: raghuv119 | last post by:
what am I doing wrong here. on a 64 bit m/c if I just do g++ t.cpp everything works find. if I do g++ -m32 t.cpp it just breaks. ==================== #include <iostream> static int mcount =...
1
by: rhle.freak | last post by:
#include<iostream> int main(void) { std::cout << "Hello World" << std::<<endl; return 0; } I am compiling it on my linux box (rhel 5) using g++ hello.cpp -o hello.o and
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.