I am still not sure what this line means. For example in the hello world program...
Code:
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
using namespace std;
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
cin.get();
return 1;
}
The return 1; is used here, Why? And sometimes I see return 0; used in this hello world program as well. What is the difference between the two? and What is its purpose/point? Is it just merely some kind of line of code to tell your computer and yourself the program executed correctly?