We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11
{
Fundamentals of C++ Programming Language
... } Brief History of C++
C++ language was created,
designed and developed by Bjarne Stroustrup in 1979.
Originally called as “C with
classes” and was renamed C++ in 1983. What is C++ programming language? • C++ is a cross-platform language that can be used to create high-performance applications.
• It is used to create computer programs.
• It is one of the world’s most popular programming
languages, and one of the most used language in game development. These are popular games created using the C++ programming language. C++ Syntax C++ Syntax
Header file library
Standard namespace library
Body C++ Output (Print Text)
cout << is used to
output values/print text. C++ Variables
Variables are containers for storing data values. C++ Variables • int – stores integers (whole numbers), without decimals, such as 123 or -123. • double – stores floating point numbers, with decimals, such as 19.99 or -19.99. • char – stores single characters, such as ‘a’ or ‘b’. Char values surrounded by single quotes. • string – stores text, such as “Hello World”. String values are surrounded by double quotes. C++ Variables