C and C++ Programming Resources

Programming Resources

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. Continue Reading

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. Continue Reading

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 […]

Programming Abstractions – SEE Course

Programming Abstractions course covers advanced programming topics such as recursion, algorithmic analysis, and data abstraction using the C++ programming language, which is similar to both C and Java. Continue Reading

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 implementation in C which may be used in C projects. Continue Reading

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 […]

Books

Microsoft Visual C# 2013 Step by Step

Microsoft Visual C# 2013 Step by Step teaches the fundamentals of Microsoft Visual C# 2013. This is a step by step guide to anyone having previous experience in programming but new to C# Programming. Continue Reading

Jumping into C++

Want to learn to code? Want to learn C++? Struggling to follow your lecturer or books and tutorials written for experts? You’re not alone. As a professional C++ developer and former Harvard teaching fellow, I […]

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 […]

Cracking the Coding Interview, Fourth Edition: 150 Programming Interview Questions and Solutions

In the 4th edition, Cracking the Coding Interview gives you the interview preparation you need to get the top software developer jobs. This book provides 150 Programming Interview Questions and Solutions. Continue Reading

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 […]

C Programming Tutorials

256-Color VGA Programming in C

David Brackeen has a very good tutorial on VGA graphics programming for DOS in C programming. The tutorial is a five part C programming tutorial which covers VGA basics, Primitive Shapes & Lines, Bitmaps & […]

Unions and Structures

A union is a user defined variable which may hold members of different sizes and type. Union uses a single memory location to hold more than one variable. We can use the unions in the following locations. Continue Reading

Basic dataypes and operators in C Programming

C programming language provides a standard and minimal set of basic data types. Sometimes these are called primitive data types. More complex data structures can be built up from these basic types. Continue Reading

File Handling in C Language

File stores information for many purposes and retrieve whenever required by our programs. A file represents a sequence of bytes on the disk where a group of related data is stored. File is created for permanent storage of data. Continue Reading

Graphics in C Language

In a C language program first step is to initialize the graphics drivers on the computer. This is done using the initgraph method provided in graphics.h library. In the next few pages we will discuss graphics.h library in details. Continue Reading

C++ Programming Tutorials

Introduction to C++ – Lecture Notes

This post contains lecture notes of “Introduction to C++” course which is taught at MIT OpenCourseWare. This is introductory course to the C++ programming language. Anyone with little or no programming experience can equally. However, […]

An Introduction to C++

The ACM Student Magazine has a series of courses to teach C++ and java called “Objective Viewpoint”.

The tutorials touch on many aspects of object-orientation. The word object has surfaced in more ways than you […]

C++ Operator Overloading Guidelines

Google Code University website provides tutorials and sample course content so CS students and educators can learn more about current computing technologies and paradigms. In particular, this content is Creative Commons licensed which makes it […]

Concurrency in C++ – University of Waterloo

Google Code University website provides tutorials and sample course content so CS students and educators can learn more about current computing technologies and paradigms. In particular, this content is Creative Commons licensed which makes it […]

More on Inheritance in C++

In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird […]

Leave a Reply