Hello World is the first typical program, it helps to ilustrate the beginning programmers to know how to start coding in most programming languages.
This is my Hello World code:
#include <iostream>
using namespace std;
int main(){
cout<<“Hello World”<<endl;
}
To compile and run this program in the Terminal in my Mac I had to look up for a youtube video that could help me solve my doubts, so I watched this video: https://www.youtube.com/watch?v=qQ40Wd6H3EQ called
Mac C++ Tutorial: Compiling in Terminal
and the guy who uploaded it is Rainger Rossway.
This is the program ran in the terminal
#WSQ02 by fernandacano is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.