Chapter 1. Markup and Code

Ever since the publication of Brian Kernighan and Dennis Ritchie’s classic book The C Programming Language (Prentice Hall, 1978), it has been customary for programming tutorials to begin with a simple program that displays a short text string such as “hello, world.” Let’s create a few similar programs for the new world of Windows 8.

I’ll assume you have Windows 8 installed as well as a recent version of Microsoft Visual Studio that supports the creation of Windows 8 applications.

Launch Visual Studio from the Windows 8 start screen, and let’s get coding.

The First Project

On the opening screen in Visual Studio, the Get Started tab should already be selected. Over at the left you’ll see a New Project option. Click that item, ...

Get Programming Windows®, Six Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.