Web based solutions, tutorials, examples and help. 

  • Beginner C++.NET Example

 #35  by Adrian
 Fri Oct 01, 2010 4:38 am
Here is a classic Hello World Example in C++.NET. Enjoy.

Code: Select all// HelloWorldCPP.cpp : Defines the entry point for the console application.

#include "stdafx.h"

//Include this for the printf (Console out) command
#include <stdio.h>

//Include for the SYSTEM command
#include <stdlib.h>

int _tmain(int argc, _TCHAR* argv[])
   //Prints "Hello World" to console screen.
   printf("Hello World");

   //Pauses console screen and awaits key press for exit.
   return 0;

   //The End. Adrian(c) Phux Development Examples.