Skip to main content

C++ Programming Language

Overview Of C++ Programming Language

History Of C++

  • C++ is a statically composed, gathered, universally useful, case-touchy, free style programming language. that object oriented and nonexclusive programming language. 

  • C++ is viewed as a center level language, as it contains a mix of both elevated level and low-level language highlights. 

  • C++ was created by Bjarne beginning in 1979 at Ringer Labs in Murray Slope, New Jersey, as an improvement to the C 

  • language and initially named C with Classes however later it was renamed C++ in 1983. 

  • C++ is a superset of C, and that basically any lawful C program is a lawful C++ program. 

Note − A programming language is said to utilize static composing when type checking is performed during total time instead of run time.

                                                      

C++ icon


C++ completely underpins object-situated programming, including the four mainstays of article arranged turn of events :-

  • Encapsulation or Binding

  • Information hide away 

  • Legacy 

  • Polymorphism 

Standard C++ comprises of three significant parts :-

  1. The center language gives all the structure squares including factors, information types and literals, and so on. 

  2. The C++ Standard Library giving a rich arrangement of capacities controlling documents, strings, and so on. 

  3. The Standard Format Library (STL) giving a rich arrangement of strategies controlling information structures, and so on. 


The American National Standards Institute :-

The ANSI is an endeavor to guarantee that C++ is convenient; that code you compose for Microsoft's compiler will aggregate without mistakes, utilizing a compiler on a Macintosh, UNIX, a Windows box, or an Alpha. 

The ANSI standard has been steady for some time, and all the major C++ compiler producers uphold the ANSI standard. 

Learning C++ :-

The most significant thing while at the same time learning C++ is to zero in on ideas. The motivation behind learning a programming language is to improve as a developer; that is, to turn out to be more successful at planning also, actual new frameworks and at keeping up old ones. 

C++ is an assortment of programming styles. You can write in the style of Fortran, C, Smalltalk, and so on., in any language. Each style can accomplish its points viably while keeping up run time and memory effectively. 

Utilization of C++:-

  • C++ is utilized by many developers in basically every application area. 

  • C++ is as a rule used to compose gadget drivers and other programming that depend on direct control of equipment under real time requirements. 

  • C++ is broadly utilized for instructing and exploration since it is perfect enough for fruitful educating of fundamental ideas. 

  • Any individual who has utilized either an Apple Mac or a PC running Windows has by implication utilized C++ in light of the fact that the essential client interfaces of these frameworks are written in C++.

This is the history of C++ programming language , it covers all the possible areas of the C++ language. C++ is an object oriented programming language. It has concepts of objects, function, class and data. An object is a real world entity. Anything which is real that is an object.

 A class is a design of an object. The class described the behavior of an object. It contains the functions and data. Functions perform the actions, according to the written code inside that function. Data is an important part of a class design. It is information about an object.

Example:-  An entity can be a building, people, bank, book, school, college etc. Person can have their name, age, height and so on. These all are the attributes of a person or data about a person.

C Basic Problems And Its Output


Comments

Popular posts from this blog

Data Structure And Algorithm Important Topics Overview

  Overview Of Data Structures And Algorithms This post will give you the clear idea about learning data structures and algorithms . So, Data structure? => In computer science a data structure is a data organization , management and storage format that enables efficient access and modification. Or in the other words it is a way in which data is stored on a computer. Types of data structures:- Array  String Stack Queue Linked List  Binary Tree Binary Search Tree Heap Hash Table Graph Above topics, array is a linear data structure which stores the data in the sequence order, dynamic array, every data is stored in the next contiguous memory location.   String is a collection of characters. If it contains the alphabets and it also uses the digit as character. If a string is composed of numbers and characters then numbers are also treated as characters. Stack is also a linear data structure. It works either on Last In First Out or First In Last Out . It has only one ...

Fix Breadcrumbs Error And m=1? In Blogger

  Remove Breadcrumbs Errors And ?m=1 Breadcrumb is a small path. It points your location on your site. It also affects the SEO of your website.  Use canonical URL , so: data:blog.url.canonical  instead of data:blog.url. It should work for both desktop and mobile versions. It means the same URL works on both mobile and desktop without producing the ?m=1 or ?m=0. Before this, I am going to tell you what all the portions I will explain and fix your problem. First we will fix Breadcrumbs Error . This is the most dangerous for your website. Second we will remove ?m=1 and ?m=0, tags from our mobile view URL. Remove Breadcrumbs Error :- You should follow the below steps, so that you would fixed this error :- Go to blogger.com Login to blogger with your blogger email id Click on Template Click edit HTML, you have to edit HTML theme code. Press Ctr + F to open a search bar in your HTML theme code. Search for <div class='breadcrumbs' Paste the below code up to </b:loop> ...

C Programs : Basic Problems And Its Output

C Basics Programs 1.Check a string is a palindrome or not? Program:- #include<stdio.h> #include<string.h> void isPalindrome(char *str) { int i,l,h; l=strlen(str); i=0; h=l-1; while(h>i) { if(str[i++]!=str[h--]) { printf("Not Palindrome"); return; } } printf("Palindrome"); } int main() { int i,l,flag=0; char str[20]; printf("Enter a string:-"); scanf("%s",str); isPalindrome(str);    return 0; } Output :- Enter a string:- abcdcba Palindrome 2.Find the maximum frquency of a character in a string. Program:- #include<stdio.h> #include<string.h> //#define ASCII_SIZE 256 char string_freq(char *str) { int i,j,l,cmax=0,count; char s; l=strlen(str); for(i=0;i<l;i++) { count=1; for(j=i+1;j<l;j++) { if(str[i]==str[j]) { count++; } } if(cmax<count) { cmax=count; s=str[i]; } } printf("\n%d",cmax); return s; } in...