C++ Programming Tutorials

C++ Programming Tutorials And Articles
  Title / Author Reverse Sort Order Replies
Views
Oracle C++ Call Interface (OCCI) is an Application Programming Interface (API) that provides C++ applications access to data in an Oracle database. This API is a significant improvement to the Oracle Call Interface (OCI) API as far as ease of use is concerned. Engineers who have written JDBC (Java...
40
61,285
This example shows how to create the linklist without Loop. #include<iostream.h> #include<conio.h> //Structure of the Doubly Link List Node. // Data stores the value of type integer. struct Node
9
6,961
This program shows how to create the private constructor in C++. #include<iostream.h> #include<conio.h> class Test { int Data; //Stores the Data
3
10,662
Sometimes its very difficult to understand which function would be call. So, this example explain you about how member functions are called while using virtual and without virtual. 1) Example of Virtual Function In the case of virtual function when we call the member functions.The compiler...
6
36,577
I just try to implement the TIC TAC TO GAME USING GRAPHS (ADJACENCY LIST)............. /*======================================================================== ** DSF MINI_PROGECT ** TITAL : - TIC TAC TOE NAME : - KANGANE SANTOSH (VIT, PUNE) DATA STUCTHER USED :- GRAPH ( ADJACENCY...
5
6,912
I posted a little about this in Sudoku Solving Program Using 'C' so that people could take a look at the solve part of the algorithm if they wanted. I was mid-development and this wasn't the part that was actually to change much except for a removal tweak of a magic number here and there. Since...
1
5,575
Templates is a concept which enable us to define generic classes and functions and thus provides support for generic programming. Generic programming is an approach where generic types are used as parameters in algorithm so that they work for variety of suitable data types and data structures. A...
2
3,682
In the previous article I explained you about the Templates in C++. C++ comes with the Standard Template Library, or STL, which includes many different types of containers, each with its own set of advantages (and disadvantages). The C++ Standard Template Library is a very large library of...
1
2,756
To the programmers it is very common concept that bugs are of two types i.e logical errors and syntactic errors. Poor understanding of the problem and solution procedure leads to logical errors whereas, the syntactic errors arise due to poor understanding of the language itself. We can detect these...
1
2,448
Inheritance is a feature in object-oriented programming which is very similar to the way we inherit characteristics from our parents. Characteristics in object-oriented programming terms are attributes and behaviors of a class—that is, the data and methods of a class. Inheritance is a...
4
14,182
In C-Style typecasting we discussed about type casting and why is it required and how it is used in C programming. C++ has more types of typecasting and an entirely different way to use them. A point to be noted that C++ typecasting would be mostly described and used in context of classes, as...
0
2,834
In C, memory allocations on heap are done using following three library methods void *malloc(size_t size); void *calloc(size_t nmemb, size_t size); void *realloc(void *ptr, size_t size); Though, most commonly used is malloc() The corresponding free-ing the memory...
0
2,845
Virtual functions in C++ play an important role. To understand virtual function, one should be clear about the polymorphism feature of C++ language as an object oriented language. In brevity, polymorphism is the weapon through which we can identify a function call through its parameters, or...
0
2,636
In part I of the article about Virtual Functions, we learnt about the virtual functions, why are they needed and when to use them. This article will talk about virtual function internals and how virtual functions work in C++. Actually, virtual functions govern to an extent, how a class object is...
0
2,430
Whenever you hear the word virtual, the first thing which comes to your mind is something that only exists in appearance but in reality you cannot physically see or touch that thing. A virtual function in C++ is a similar concept. Virtual functions lays at the heart of object oriented programming...
0
2,117
While gathering requirements for a software product, we cannot cover all the use cases of the product. If software under development is simpler we might be able to make it fool proof from all angles but large enterprise software products are not easy to develop maintaining high standards of...
1
1,869
In my previous articles, I had introduces you to some of the fundamental concepts of the C++ language. However, you would have noticed that all the code we wrote, resided in a single file. We developed object oriented programs where we used multiple classes, but all those classes were in a single...
0
2,333
Multithreading is one of the most fascinating feature of modern day programming. If you are not familiar with multithreading then most probably you have been writing programs that are single threaded. By single threaded program we mean such a program where program instructions run in a sequence and...
0
3,094
Today I am going to explain another very important C++ concept: ’The Data Type Conversion in C++’. C++ has wide variety of data types ranging from the basic or primitive data types to the user defined data types. In this article, we are going to explain that how we convert these data types to...
0
6,910
In this article we are going to explain some of the most fundamental but often neglected concepts of C++ programming language. These concepts are extremely interesting and if employed well, can solve complex mathematical problems. So, without wasting any more time, let us jump to the first concept...
0
2,783