Difference between revisions of "C++"
Jump to navigation
Jump to search
DavidB4-bot (talk | contribs) m (→"Hello World!" program: clean up) |
m (Fixed sample program) |
||
| Line 7: | Line 7: | ||
int main() | int main() | ||
{ | { | ||
| − | cout << "Hello World!"; | + | std::cout << "Hello World!"; |
return 0; | return 0; | ||
} | } | ||
</pre> | </pre> | ||
[[Category:Programming Languages]] | [[Category:Programming Languages]] | ||
Revision as of 20:23, May 25, 2017
C++ (pronounced "C plus plus") is a compiled programming language. It has both high-level and nearly machine-level functionality. It was developed by Dr. Bjarne Stroustrup at Bell Labs in 1979 as an enhancement to the C programming language.
"Hello World!" program
#include <iostream.h>
int main()
{
std::cout << "Hello World!";
return 0;
}