C++ 17 – New and Removed Features

You must have heard that C++17 is now feature full or feature complete. C++ 17 is the most recent version of C++ programming language revised by ISO/IEC 14882 standard. Its specification reached the DIS (Draft International Standard) stage in March 2017 and after...

C++ Vectors – std::vector – Containers Library

Vectors are sequence container (same as dynamic arrays) which resizes itself automatically. The size changes (i.e. vector can shrink or expand as needed at run time) when an element is inserted or deleted, with their storage being handled automatically by the...

The 10 Most Prestigious Programming Contests and Challenges

This is a list of 10 most prestigious and old programming contests and challenges which you can participate and win prizes. Most of them are annual competitions but few are continuous and you can enter at any time. You can use C, C++, Java or C# .NET or any other...

C++ Program to solve the Quadratic Equation

This program will solve quadratic equations. It accepts coefficients of a quadratic equation from the user i.e. a, b and c and displays the roots. To compile the program name it quadratic_solver.cpp then type g++ -o quadratic_solver quadratic_solver.cpp You may need...

C Algorithms Library

This article is about a collection of common Computer Science algorithms which may be used in C projects. The C Programming Language has a much smaller Standard Library as compared to other more modern programming languages such as Java or Python. The library provides...

Multiparadigm Programming in Standard C++

A multi-paradigm programming language allows programmers to choose a specific single approach or mix parts of different programming paradigms. The power of C++ is such that it can be used to implement any paradigm. It supports procedural and class based object...

Ternary Operator in C

In C Programming language, ternary operator allows executing different code depending on the value of a condition, and the result of the expression is the returned value of the executed code. The main advantage of using ternary operator is to reduce the number of line...

C++ “Hello World” Program

This is a simple “Hello World” C++ program to display “Hello World” text on the screen. Typically, the best way to learn programming is by writing code. The first program beginners write is “Hello World” which is often used to illustrate the syntax of a...

Ten Most Recommended C books for Expert Programmers

C is a great programing language to start as a beginner programmer. However, it is also an essential language for any professional programmer. “C programming is a craft that takes years to perfect. A reasonably sharp person can learn the basics of C quite quickly. But...

C “Hello World” Program

This is a simple “Hello World” C program to display “Hello World” text on the screen. Typically, the best way to learn programming is by writing code. The first program beginners write is “Hello World” which is often used to illustrate the syntax of a...

File Handling in C++

This tutorial will teach you how to read and write a file using C++. The information or data stored under a specific name on a storage device, is called a file. In C++, files are referred to as flow of streams (data) into and out of programs. Streams are basis data...

List of Hello World Programs in 300 Programming Languages

Hello, world! Programs are usually written to make the text “Hello, world!” appear on a computer screen. This is also a basic sanity check for an installation of a new programming language. The first Hello World program appeared in chapter 1.1 of the first...