<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bytecode.club/index.php?action=history&amp;feed=atom&amp;title=C%2B%2B</id>
	<title>C++ - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bytecode.club/index.php?action=history&amp;feed=atom&amp;title=C%2B%2B"/>
	<link rel="alternate" type="text/html" href="https://wiki.bytecode.club/index.php?title=C%2B%2B&amp;action=history"/>
	<updated>2026-05-14T16:39:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://wiki.bytecode.club/index.php?title=C%2B%2B&amp;diff=338&amp;oldid=prev</id>
		<title>Konloch: Created page with &quot;Bjarne Stroustrup, the creator of C++ &#039;&#039;&#039;C++&#039;&#039;&#039; (pronounced &quot;see plus plus&quot;) is a computer programming language based on C. It wa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.bytecode.club/index.php?title=C%2B%2B&amp;diff=338&amp;oldid=prev"/>
		<updated>2017-11-02T06:06:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/File:BjarneStroustrup.jpg&quot; title=&quot;File:BjarneStroustrup.jpg&quot;&gt;right|thumb|Bjarne Stroustrup, the creator of C++&lt;/a&gt; &amp;#039;&amp;#039;&amp;#039;C++&amp;#039;&amp;#039;&amp;#039; (pronounced &amp;quot;see plus plus&amp;quot;) is a computer programming language based on &lt;a href=&quot;/C&quot; title=&quot;C&quot;&gt;C&lt;/a&gt;. It wa...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:BjarneStroustrup.jpg|right|thumb|Bjarne Stroustrup, the creator of C++]]&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;C++&amp;#039;&amp;#039;&amp;#039; (pronounced &amp;quot;see plus plus&amp;quot;) is a computer programming language based on [[C]]. It was created for writing programs for many different purposes. In the 1990s, C++ became one of the most used programming languages in the world.&lt;br /&gt;
&lt;br /&gt;
The C++ programming language was developed by Bjarne Stroustrup at [[Bell Labs]] in the 1980s, and was originally named &amp;quot;C with classes&amp;quot;. The language was planned as an improvement on the [[C]] programming language, adding features based on [[OOP|object-oriented programming]]. Step by step, a lot of advanced features were added to the language, like operator overloading, exception handling and templates.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following text is C++ source code and it will write the words &amp;quot;[[Hello world program|Hello World!]]&amp;quot; on the screen when it has been [[compiler|compiled]] and is executed. This program is typically the first one a programmer writes while learning a programming language.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
// This is a comment. It&amp;#039;s for *people* to read, not computers. It&amp;#039;s usually used to describe the program.&lt;br /&gt;
&lt;br /&gt;
// Iostream is the input and output stream; which stores functions such as print etc.&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
// Namespace std; is the standard namespace which also stores some functions&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
// We are now creating an important instance; the main function&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    // Printing a message to cout (Character Output Stream)&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;Hello World!&amp;quot;;&lt;br /&gt;
    &lt;br /&gt;
    // Tells the computer that the code was executed successfully; by sending a zero&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
This program is similar to the last, except it will add 3 + 2 and print the answer instead of &amp;quot;Hello World!&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    // Printing a simple calculation&lt;br /&gt;
    cout &amp;lt;&amp;lt; 3 + 2;&lt;br /&gt;
    &lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This program subtracts, multiplies, divides then prints the answer on the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    // Creating and initializing 3 variables, a, b, and c, to 5, 10, and 20.&lt;br /&gt;
    int a = 5;&lt;br /&gt;
    int b = 10;&lt;br /&gt;
    int c = 20;&lt;br /&gt;
&lt;br /&gt;
    // Printing calculations&lt;br /&gt;
    cout &amp;lt;&amp;lt; a-b-c;&lt;br /&gt;
    cout &amp;lt;&amp;lt; a*b*c;&lt;br /&gt;
    cout &amp;lt;&amp;lt; a/b/c;&lt;br /&gt;
    &lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Languages]]&lt;/div&gt;</summary>
		<author><name>Konloch</name></author>
	</entry>
</feed>