c with classes code example
Example 1: C++
C++ is a general-purpose programming language created by Bjarne
Stroustrup as an extension of the C programming language, or
"C with Classes".
C++ still qualifies as a high-level languge, yet the rise of
languages like Ruby and Java have given capabilities that sway
people's opinion towards what is and is not "high-level".
Yet high-level simply means it's farther from machine code and closer
to human-readable form. Hence the need for a compiler/interpreter.
So don't get too worked up about granular specifics.
Example 2: c++
#include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
return 0;
}