• Forum
  • Lounge
  • Introductory programming philosophy: Aut

 
Introductory programming philosophy: Authors

Bjarne Stroustrup most concise example of a program is "Hello, World!". If other authors would also use an example to introduce programming to those who know nothing, who are they and how would they explain this program. I am looking for a line by line explanation.
1
2
3
4
5
6
#include "std_lib_facilities.h"
int main()
{
cout << "Hello, World!\n";
return 0;
}


Ideally, I am looking for authors who do not think that using examples is the supreme approach to teaching.
Last edited on
I'm not really sure what you're asking for, but if you want a line by line explanation of that program there's one in the tutorial on this website.

http://www.cplusplus.com/doc/tutorial/program_structure/
Topic archived. No new replies allowed.