Subscribe for email updates

Get all updates to your inbox to stay tune.

Curve tracing programs - Draw sin(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Graphics programming in C

Learn how to write basic and advanced graphics programming in c language

Curve tracing programs - Draw Cos(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Make file tutorial

A step by step guide to learn how to write make file in Linux with examples

Wednesday, January 26, 2011

build framework for a new project

Dont you know how to create build framework for a new project. NO worries. QMAKE tool will help you.

Install qmake and follow qmake steps to build a application or Library.

This works on Unix platforms. I have used it in RHEL

User Library Directory

If you build a C library and you might need this library to be available in /usr/lib on system whever you run programme which needs this library.

The simplest solution is export this path.

export LD_LIBRARY_PATH=./mylib

double free Error

Sometimes because of freeing a pointer two times may result in double free error.
For temporary execution purpose, one can proceed the execution by setting the variable as shown below.

export MALLOC_CHECK_=0
and try to run your programme. You wont get double free error.

But this is not the perfect solution. It may cause problem in long running.