C++ Programming Code Examples
C++ > Visual C++ 5.0 Standard C++ Library Code Examples
The merge algorithm merges two sorted sequences: [first1..last1) and [first2..last2)
C++ Coding Add Two Numbers by Pointer -
To add two numbers using pointer in the C++, you have to enter the 2 number, then make 2 'pointer' type variable of same type say *ptr1 and *ptr2 to initialize the address of both the
Topological Sortings of a Directed Acyclic -
Topological sorting for directed acyclic graph (dag) is a linear ordering of vertices such that for every directed edge 'uv', vertex 'u' comes before v in the ordering. 'Topological Sorting'
Display all the Nodes in a Linked list using -
C program display all the nodes in a linked list 'using recursion'. This program uses recursive function and displays a 'Linked List'. A Linked List is an ordered set of 'data elements', each
Reads Strings from a File in Reverse Order -
Program code to find out how many strings there are. Read string length. Check buffer is large enough and increase if necessary. Now get the position for the beginning of each...
C Codes Multiply 2 Numbers use Function -
Create a user defined function product() that multiplies the numbers that we are passing to it during function call. This c function returns the product of these numbers. To understand
C++ Program Finds the Area & Perimeter -
Enter width of rectangle and enter height of rectangle. Print the "area of rectangle". Print the perimeter of rectangle. Formula: Area of rectangle: height*width. Formula: Perimeter
C++ Language Implement Multiset in STL -
C++ Program demonstrates implementation of "Multiset in STL". "Insert element" into the multiset. "Delete element" from the multiset. "Find element" in a multiset. Count elements
Coordinate Point in XY Coordinate System -
C Program to read a coordinate point in a XY coordinate system & determine its quadrant. The program accepts X and Y. Depending on the Value of X & Y we need to Determine on