Hello World An obligatory first program
C++ C developed in 1971 C++ developed in 1983 – Standardized in 1998 – Updated in 2011, again in
QT Creator Preferred development environment – Avoid Visual Studio/other tools
Project Templates/Settings QTProject folder – In C:/User/YOU/AppData/Roaming Stores templates and preferences My website has starters to match lab templates/settings
Writing a Program Every program is a "Project"
Basic Template This is the template we want: Save to a place you can find:
The Files.cpp : – Code.pro : – project – what files to build, how to build them.pro.user : – User specific things (window placement, etc…)
The Code Our code:
Building and Running Code must BUILD before you run it: RUN runs the last build you did:
Tools Options for all program settings Build & Run: – Always deploy project before running will force build on run Force Build Before Run