Beginning C++ Programming

C++ has come a long way and is now adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications, including desktop applications, servers, and performance-critical applications, not to forget its importance in...

Ternary Operator in C++

In C++, ternary operator allows executing different code depending on the value of a condition, and the result of the expression is the result of the executed code. The ternary operator uses 3 operands. It evaluates a condition and after that chooses one of its two...

Polymorphism in C++

Simply speaking, polymorphism is the ability of something to be displayed in multiple forms. Let’s take a real life scenario; a person at the same time can perform several duties as per demand, in the particular scenario. Such as, a man at a same time can serve as a...

Effective Modern C++

Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14 Effective Modern C++ follows the proven guideline-based, example-driven format of Scott Meyers’ earlier books, but covers entirely new material. This book describes how to write...

The C++ Modulus Operator

Introduction to Modulus When we divide two integer numbers we will have an equation that looks like the following: A/B = Q Remainder R where A is the dividend B is the divisor Q is the quotient R is the remainder Sometimes, we are only interested in what the remainder...

Find the middle element of linked list in C

Data structures and algorithm questions are important part of any programming job interview, whether Java interview, C/C++ interview or any other programming language. Since data structures are core programming concept, it’s mandatory for all programmers, to know...

Why Learn C as first programming language?

There are hundreds of programming languages used in the professional industry and university/college academics. One needs to be familiar and able to program with at least few programming languages to be successful. This is necessary even if future career is not...

C++ Tutorial for Java Programmers

This tutorial is designed to give a working knowledge of C++ (and indirectly parts of C) as quickly as possible for people with Java programming experience and familiarity with basic programming language concepts. By working through the exercises, core C++ concepts...

Programming Abstractions – SEE Course

Stanford Engineering Everywhere (SEE) offers few computer science courses to students online and at no charge. SEE courses include the content offered in an actual campus course including lecture videos, as well as all lecture slides, reading lists and handouts,...

C Language Implementation of Algorithm and Data Structures

The C programming language includes a very limited number of standard libraries or common data structures and algorithms in comparison to other modern programming languages such as Java, C# or Python. This is a collection of common algorithm and data structure...

C Language Implementation of Base64 Encoding and Decoding

Base64 encoding and decoding schemes are commonly used to encode binary data. Normally this is required when textual data needs to be transferred over the network or similar media and make sure that data is transferred without any modification. Base64 is commonly used...

Kruskal’s Algorithm Implementation in C Programming

This is the implementation of Kruskal’s Algorithm in C Programming Language.This algorithm is directly based on the generic MST (Minimum Spanning Tree) algorithm. Kruskal’s algorithm is a greedy algorithm in graph theory that finds a minimum spanning tree...
Page 2 of 4012345678910...2025303540...Last »