Book Image

Microsoft Visual C++ Windows Applications by Example

By : Stefan Bjornander, Stefan Björnander
Book Image

Microsoft Visual C++ Windows Applications by Example

By: Stefan Bjornander, Stefan Björnander

Overview of this book

Table of Contents (15 chapters)
Microsoft Visual C++ Windows Applications by Example
Credits
About the Author
About the Reviewer
Preface
Index

The First Program


The execution of a program always starts with the function main. Below is a program that prints the text Hello, World! on the screen.

#include <iostream>
using namespace std;

void main()
{
  cout << "Hello, World!" << endl;
}