Anyone hear of helloworld?

May 07, 2006 17 Replies

My daughter and SIL came home today just enthusiastic from a Hello World seminar. Supposed to be the greatest thing since KY jelly. New ways of webcamming, e mail, teleconferencing, yada yada yada.



I, being an old fart, am suspicious, because I believe if it was all that good, it would be snatched up in IPOs on the first day by inside traders, Know Whut Uh Mean, Martha? They are being called upon to invest some money.



Still, I am trying to keep an open mind. Anyone else heard of this?



Steve


Can't say I've ever heard of it, Steve. But on general principle I think your gut instinct is right on. If "helloworld" is going to be so big, they would have taken the cash spent running seminars and used it to get the thing started instead. It's like the ads I occasionally hear on radio stations offering info on the "next hot cool thing - invest now on the ground floor...". Always seemed to me that if it was such a hot investment, they would not need to buy airtime on big AM radio stations to get the word out. Just my opinion. I'm not rich, so you can see where my "investment" sense has gotten me. :)

So don't take my word for anything. My advice here is, as is said, worth exactly what you paid for it...

Al A.

Only when I am writing in "c". In basic or masm it would look a little different. Stan

Anyone else here who inevitably thinks of the following?

#include

main() { cout

First hit (google)

formatting link
Ken.

C++ was the only language I was taught. BASIC I learnt myself after I got a chuck-out Commodore 32. You only learn "Hello World" through teaching. Let's just say it isn't the first thing that springs to mind when you discover you can print messages on the screen :-).

Chris

There is missing an "int" in front of "main()".

Nick

That's the new version.

From the original K&R ...

main() { printf("hello, world\n"); }

Since there's no explicit return, it could be a void :-)

Mark Rand RTFM

No, it _is_ "int main". int can't be left out. "void main" is invalid. Also, as he did make a "return 0", the compiler should complain twice. And going on nitpicking: The "return 0" can be left out. main is the only function where this is true.

Nick

CSEG SEGMENT 'CODE' ASSUME CS:CSEG, DS:CSEG, ES:CSEG ORG 100H

SERVO PROC FAR JMP START LEA DX, M-HI MOV AH, 9 INT 21H

MOV AL, 0 ; RETURN CODE INT 21H

M_HI db 'Hey world'

PROGRAM MAIN WRITE (6,100) 'hello, world' 100 FORMAT (' ',A) END

(defun main () (format t "hello, world"))

That brings flashbacks of C++ and Java UGH!

Yep. That's what I get for typing it in - with out the assembler handy...

Stan Weiss wrote:

If you like "Hello World" programs, here's excess of it, surfeiting:

formatting link

Best regards, Spehro Pefhany

Not the language G yet ?

Wow.

Martin :-) I have the spec. Semiconductor source code... Martin Eastburn @ home at Lions' Lair with our computer lionslair at consolidated dot net NRA LOH & Endowment Member NRA Second Amendment Task Force Charter Founder IHMSA and NRA Metallic Silhouette maker & member

Spehro Pefhany wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required