$\require{cancel}$
#include <iostream>
using namespace std;
int main() {
return 0;
}
int main() {
code indented
}
int main()
{
code indented
}
#include <iostream>
iostream library.
g++ -E shell.cpp
include can be found here.
iostream in detail soon.
using namespace std;
using and namespace are reserved or keywords in c++
use namespace bennett means all calls to Dan refers to me.
std
int main () { }
main is a standard identifier.
int is a reserved word
{ } is a codeblock.
return 0;
return is a reserved word.