Sharp Tutorial
introduction to c++

Python

Java

C

C++

HTML/CSS

Java Script

PHP

SQL

C Programs

introduction to c++

  • C++ Home
  • Introduction to C++
  • History features
  • Sample Programs
  • cout , cin , endl
  • Data type and Operators
  • if else in c++
  • loop in c++

Oops in C++

  • Object / Class
  • Constructor
  • Function & Constructor Overloading
  • Inheritance
  • Overriding

Advanced C++

  • Strings in C++
  • Exception Handling
  • Special Functions
  • C++ Programs

Introduction to C++

C++ is a middle level language developed at 1979 as an extension of c language.

C++ may be used for Windows programming , Client Server Application , Embedded System etc.

C++ program saved with extension (.cpp) 

A variable in C++ may simply be declared as ( int a=0;) . Even in C++ we may declare variable anywhere when needed not in begining as in c .

 

C++ Program to declare variable and print the value

#include<iostream>
using namespace std;
int main()

{ int age=25;
string name="john";
cout<<"name="<<name;
cout<<"age="<<age;
return 0;
 }

Above program displays the following output

Enquiry about Course

Ask your Question

Click Here

Sharp (2) Tutorials

Video/ C Introduction

Watch video in full size

Video tutorial

Follow by Email
Facebook
Facebook
fb-share-icon
YouTube
Copyright © Sharp Tutorial
Build with WordPress
Wordpress Social Share Plugin powered by Ultimatelysocial
Sharp Tutorial