Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Quote:
Originally Posted by sumtaru
world means programming space.
For C++ refer C++ Basics
No. that context is not true in the case of "Hello World" context. ....
"Hello World" means "Hello, I'm Here" no different than when a baby is born in to the world, and if it could talk, it would say "Hello World!" meaning "I'm Here Everybody!" "I Am Alive" & and "I Am Working".
This is because "Hello World" is consider a "baby step" in programming. It is considered the "first baby step", where someone actually writes a software program and prints out a string. It could be "Hi Me" or "Yea Me!" or anything; but because it was first "Hello World"... that is the custom/tradition.
So, it really means "Yea Me. I Took a Baby Step in the Programming Language. Hello World."
In my own opinion, the ubiquitous 'Hello, world!' program; which I tend to write every single time I wish to test out any 'new' programming language that I'm interested in learning; as, basically, it proves 4 absolutely essential things...
1> I've downloaded/installed/set up the programming language/environment, correctly
2> I know how to interact with the editor in order to be able to 'write' programs
3> I know how to 'RUN' the program
4> I know how to 'view' the programs output effect
...all of which the 'beginner' programmer really needs to know; before they are ever going to learn to move on to do more advanced coding.
Whether I write it as...
BASIC/QBASIC
Python
Javascript
Java
Pascal
DOS Batch file
HTML
-etc.
...and, in this particular context, it doesn't really have any 'specific' meaning at all; most certainly, the program isn't meant to be talking to anybody else; but, myself.
>>>
In the popular program's "hello world" greeting, what meaning the "world" has: "all", "everybody", "people", "friends" or "whole world", "planet", "Earth", "Universe"?
<<<
...thus, it could actually mean 'all' of those things which you've already gone and mentioned above; or, it could even mean, simply, 'Hello, to oneself!'
I think, it's true meaning is, toss out a few utterly 'meaningless' characters/or, phrase onto the output screen to test if the program is working/or, not...?!
You could just as easily have written your test program as being...
BASIC/QBASIC
...or,...
BASIC/QBASIC
...there's no, quite truly, sensible meaning to it in terms of speech; no more than the 2 lines of code above do have any real meaning in terms of presenting a serious mathematical problem to be solved; the program's intention is merely to produce some quick throw away 'test' output; that's it!
---------- Post updated at 01:46 PM ---------- Previous update was at 01:35 PM ----------
Purely, as a matter of general conventional practice, alone; programmer's tend to use, "Hello, world!" as being the very 1st program that they choose to type in. I guess, it's the same thing as when people use the nonsense term: foo/bar; to represent variable names.
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
3. Post Here to Contact Site Administrators and Moderators
I have read the sun-expansion scenario numerous places but I've never read any suggestion that the earth's orbit would increase to avoid being scorched. What mechanism would push it out?
As for creating a black hole by the LHC, the whole concept is silly so any number of reasons would rule it... (9 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I need to sort the following file by the rhdiskpower devices in the last column:
Total_MB Free_MB OS_MB Name Failgroup Library Label UDID Product Redund Path
1024 851 1024 OCRVOT1_0000 OCRVOT1_0000 System UNKNOWN ... (3 Replies)
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
So, this is my first C++ program under linux. My OS is Red Hat 8.0, and my codes are like following:
$vi hello.cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
$ g++ -o hello hello.cpp
the error message are: ... (3 Replies)