Anyone hear of helloworld?

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

Reply to
Steve B
Loading thread data ...

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.

Reply to
Al A.

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

Reply to
Stan Weiss

Anyone else here who inevitably thinks of the following?

#include

main() { cout

Reply to
Christopher Tidy

First hit (google)

formatting link
Ken.

Reply to
Ken Davey

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

Reply to
Christopher Tidy

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

Nick

Reply to
Nick Müller

That's the new version.

From the original K&R ...

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

Reply to
xray

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

Mark Rand RTFM

Reply to
Mark Rand

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

Reply to
Nick Müller

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'

Reply to
Richard Lamb

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

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

Reply to
B.B.

That brings flashbacks of C++ and Java UGH!

Reply to
reader

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

Stan Weiss wrote:

Reply to
Richard Lamb

Reply to
Richard Lamb

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

formatting link

Best regards, Spehro Pefhany

Reply to
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:

Reply to
Martin H. Eastburn

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.