- 1

Why we always print "hello world " in the beginning of every program?

11th Jun 2021, 10:51 AM
Pravin Ghartimagar
5 odpowiedzi
+ 3
It's nothing necessary to print only hello world. You can print whatever you want. It's just a legacy or a trend. Not all of us use hello world. For example: Rellot's screwdriver
11th Jun 2021, 11:03 AM
Genuine Stalwart
Genuine Stalwart - avatar
+ 1
man, I just typed rubbish in one cout and expect to get the output and it did when I first started
11th Jun 2021, 11:11 AM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
You may also write "Goodbye World" instead!
11th Jun 2021, 12:34 PM
Jan
Jan - avatar
+ 1
Pravin Ghartimagar It's a sign that you are going to start to learn new thing. It is like new born baby say "Hello World" welcome me.
11th Jun 2021, 12:39 PM
A͢J
A͢J - avatar
+ 1
the first thing to learn (and to practice) in programming with a new language is to print/output something on screen (to be able to show/see effect of all other languages features)... printing "hello world" is kind of design pattern of this first task/example: it may be any word/sentence else... that's the model commonly used from decades, and will probably continue until end of times ;P however, you just started learned C course, where there was no practices nor end of module project added... but anyway, if you go through most of other courses here, you will see that the first task to do is always to print something, but that the sentence to output vary depending on languages ;)
11th Jun 2021, 4:20 PM
visph
visph - avatar