c++ written in which language code example

Example 1: C++

Better than my grades

Example 2: C++

C++ is a general-purpose programming language created by Bjarne 
Stroustrup as an extension of the C programming language, or 
"C with Classes".

//as you can also see to your right ---------------------->

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 3: c++

#include <iostream>

int main() {
	std::cout << "Hello, world!" << std::endl;
	return 0;
}

Tags:

Cpp Example