XCode C++ (Part 1)

Neil HaddleyMarch 8, 2023

Hello, World!

How I built hello world on my M1 MacBook Air

new Command Line Tool project

new Command Line Tool project

Product Name is helloWorldLanguage is C++

Product Name is helloWorldLanguage is C++

Select Source Code location

Select Source Code location

General project settings

General project settings

Build and Run

Build and Run

Program ended

Program ended

Show Build Folder in Finder

Show Build Folder in Finder

Build Folder

Build Folder

Debug Build

Debug Build

Unix Executable File

Unix Executable File

main.cpp

TEXT
1//
2//  main.cpp
3//  helloWorld
4//
5//  Created by Neil Haddley on 3/8/23.
6//
7
8#include <iostream>
9
10int main(int argc, const char * argv[]) {
11    // insert code here...
12    std::cout << "Hello, World!\n";
13    return 0;
14}