diff --git a/404.html b/404.html index 524dbdf..2c7a3a1 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@
GCC is a compiler for C and C++.
brew install gcc
GCC will be run with the command g++-13
instead of g++
. On a Mac, g++
points to the Apple Clang C++ compiler, which is not the same as GCC.
g++-13 -std=c++11 -o lab0 lab0.cpp
GCC will be run with the command g++-14
instead of g++
. On a Mac, g++
points to the Apple Clang C++ compiler, which is not the same as GCC.
g++-14 -std=c++11 -o lab0 lab0.cpp
To install VSCode, you can download it from here or run the following command in a terminal:
brew install --cask visual-studio-code
ls
You can also compile and run your code from the terminal:
Compile:
-g++-13 -std=c++11 -o hello hello.cpp
g++-14 -std=c++11 -o hello hello.cpp
Run:
./hello
And it should print Hello World!
to the terminal.