The “Hello, World!” Program in C

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

The C++ Modulus Operator

The C and C++ language provides a built-in mechanism, the modulus operator (‘%’), that computes the remainder that results from performing integer division.

Find the middle element of linked list in C

In order to find middle element of linked list in one pass, you need to maintain two pointers, one increment at each node while other increments after two nodes at a time. By having this arrangement, when first pointer reaches end, second pointer will point to middle element of linked list.

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.

Kruskal’s Algorithm Implementation in C

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 for a connected weighted graph. It finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized.

Porter’s Algorithm in C

Originally written in 1979 at Computer Laboratory, Cambridge (England), it was reprinted in 1997 in the book “Readings in Information Retrieval”. Initially it was written in BCPL language. Here is the list of implementations in other programming languages including C, Java and Pearl implementations done by author himself.

Microsoft C++ REST SDK

Microsoft C++ REST SDK version 1.0 codename Casablanca is open source project hosted at CodePlex, and takes advantage of the new set of capabilities introduced in C++ 11 to simplify cloud-based coding with a modern, asynchronous, and multi-platform API design. The C++...

Test Driven Development for Embedded C

TDD is a modern programming practice C developers need to know. It’s a different way to program—unit tests are written in a tight feedback loop with the production code, assuring your code does what you think. You get valuable feedback every few minutes....

iPhone and iPad Apps for Absolute Beginners (Getting Started)

The iPhone is the hottest gadget of our generation, and much of its success has been fueled by the App Store, Apple’s online marketplace for iPhone applications. Over 1 billion apps have been downloaded in the 9 months the App Store has been open, ranging from the...

Top 10 C programming resources that will turn you into a better programmer

People consider computer programming a little tiresome but some find it more enjoyable. Every programmer has to keep up with the latest trends coming in the programming languages. Most of the programmers start programming in C as it is the most commonly used programming language for writing operating systems and applications.

Ten tips on improving your programming skills

As a programmer I used different ways to improve my programming skills, like reading/writing code, working with experienced programmers and reading blogs and websites. I have listed few of the points here which in my opinion will be quite useful for novice programmers.

Little known features of C/C++

There are always few little known or hidden features in each programming language. At StackOverflow.com someone started a series of posts “Hidden features of” programming languages. The Hidden Features series is great for people who are new to a certain language.

50 C++ Interview Questions

I have compiled a list of repeatedly asking C++ interview questions here. Some of them are very important C++ questions asked by employers like Microsoft, Adobe and IBM. This list has been updated to include few more questions. How do you check whether a linked list...

C++ How to Program (7th Edition)

This comprehensive best-seller is aimed at readers with little or no programming experience. It teaches by presenting the concepts in the context of full working programs and takes an early-objects approach. The authors emphasize achieving program clarity through...

AMD’s Open Source Framewave Library

AMD’s Framewave (FW) is a free and open-source collection of image and signal processing routines to accelerate application development, debugging, and optimization on x86-class processor platforms.  FW is a collection of libraries that contain highly-optimized...

Algorithms in C

This book provides a comprehensive collection of algorithms implemented in C programming language. A variety of algorithms are described in each of the following areas: sorting, searching, string-processing, and geometric, graph, and mathematical algorithms. These...

Matrix libraries for C and C++

This article presents some of the currently available options for open source C/C++ matrix libraries employable within a Linux environment. Particular libraries discussed are Meschach, which provides routines for operating on matrices and vectors for projects coded in...

Binary Trees

A binary tree is made of nodes, where each node contains a “left” pointer, a “right” pointer, and a data element. The “root” pointer points to the topmost node in the tree. The left and right pointers recursively point to smaller...