"C" tag
Let's analyse this code

Joy of Programming: The Technology Behind Static Analysis Tools

There are a wide range of static analysers available today — both commercial as well as open source. Have you ever wondered how static analysers magically detect difficult-to-find bugs in code? And why…

Problem solving

CodeSport (September 2011)

In this month’s column, we pose a set of questions related to C/C++, algorithms and data structures, for our readers to practice and prepare for interviews. In last month’s column, we had looked…

Time to program

Joy of Programming: Calling Virtual Functions from Constructors

Calling virtual functions from constructors is problematic, and this problem can manifest itself in many ways. In this column, we’ll take a look at this problem, with specific examples. Last year, I bought…

Profiling...

Code Profiling in Linux Using Gprof

Today, performance is a pivotal point in the programming world. Programmers constantly strive to make their code run in fewer milliseconds. Performance analysis can be done in various ways, static as well as…

Ain't no sunshine without graphics

Graphics Using Xlib, Part 1

This article introduces you to the X Window System, with the aim of helping developers understand how to use the Xlib library effectively. The X Window System has a very distinct place in…

CodeSport

CodeSport (May 2011)

Welcome to CodeSport!  In this month’s column, we continue our discussion on memory access errors. In last month’s column, we had discussed a set of questions that could prove helpful to our student…

Getting started...

Getting Started with Inotify

Inotify is a Linux kernel feature that provides an event-driven framework for applications to monitor changes in the filesystem. This article demonstrates how to use the Inotify API to register for interesting events,…

Time to probe

Kernel Debugging Using Kprobe and Jprobe

Debugging is like plumbing; it involves fixing difficult, hidden problems — so, besides the vital experience, both debuggers and plumbers must have a specialised set of tools at hand for each task. Targeted…

Lots of questions this time...

CodeSport (April 2011)

Welcome to CodeSport! In this month’s column, we feature a set of programming questions, as requested by a few of our student readers. In last month’s column, we discussed a few of the…

Python + C

When Python Weds C

It is a well-known fact that the C language is closely related to many programming languages. This article discusses the Application Programming Interfaces (APIs) between Python and C. The Python/C APIs are widely…

All published articles are released under Creative Commons Attribution-NonCommercial 3.0 Unported License, unless otherwise noted.
Open Source For You is powered by WordPress, which gladly sits on top of a CentOS-based LEMP stack.

Creative Commons License.