Top "C" questions

C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.

What is ":-!!" in C code?

I bumped into this strange macro code in /usr/include/linux/kernel.h: /* Force a compilation error if condition is …

c linux macros linux-kernel
C library function to perform sort

Is there any library function available in C standard library to do sort?

c sorting
How do you compare structs for equality in C?

How do you compare two instances of structs for equality in standard C?

c struct equality
Reading string by char till end of line C/C++

How to read a string one char at the time, and stop when you reach end of line? I'am using …

c++ c string file fgetc
Why should you use strncpy instead of strcpy?

Edit: I've added the source for the example. I came across this example: char source[MAX] = "123456789"; char source1[MAX] = "123456789"; char …

c buffer-overflow strcpy c89 strncpy
Build a simple HTTP server in C

I need to build a simple HTTP server in C. Any guidance? Links? Samples?

c httpserver
Objective-C : BOOL vs bool

I saw the "new type" BOOL (YES, NO). I read that this type is almost like a char. For testing …

c objective-c types boolean
printf not printing on console

I’m getting started in the C language. I am using eclipse (juno) as my IDE and installed CDT plugin. …

c eclipse gcc printf scanf
Quick Way to Implement Dictionary in C

One of the things which I miss while writing programs in C is a dictionary data structure. What's the most …

c data-structures dictionary
.c vs .cc vs. .cpp vs .hpp vs .h vs .cxx

Possible Duplicates: *.h or *.hpp for your class definitions Correct C++ code file extension? .cc vs .cpp I used to …

c++ c filenames header-files naming