from [stackexchange](https://askubuntu.com/questions/36520/how-could-i-begin-c-programming-on-ubuntu)
Ubuntu comes with gcc
example hello world:
save as "helloworld.c" for "c"
save as "helloworld.cpp" for "c++"
#include <stdio.h>
int main ()
{
printf("Hello World");
}
to compile:
gcc helloworld.c -o helloworld
g++ helloworld.cpp -o helloworld
"-o" is followed by the output file name (the executable file)
(my ubuntu said it did not have "g++" auto-installed, but could install it with "sudo apt install g++")
to execute:
./helloworld
aka Prototype
contains the function name, parameter list, and return type
example:
Type MyObject::myFunction(
Type1 param1,
Type2 *param2,
const Type3 ¶m3
);
Qt library for C++ GUI
pronouned "cute", not "cu-tee"
see [Qt for Beginners](https://wiki.qt.io/Qt_for_Beginners)