Top "C" questions

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

Using GCC to produce readable assembly?

I was wondering how to use GCC on my C source file to dump a mnemonic version of the machine …

c gcc assembly
Build .so file from .c file using gcc command line

I'm trying to create a hello world project for Linux dynamic libraries (.so files). So I have a file hello.…

c linux gcc shared-libraries
How to compile a static library in Linux?

I have a question: How to compile a static library in Linux with gcc, i.e. I need to compile …

c gcc static-libraries
Print text instead of value from C enum

int main() { enum Days{Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday}; Days TheDay; int j = 0; printf("Please enter the day …

c enums
Converting float to char*

How can I convert a float value to char* in C language?

c floating-point floating-point-conversion
How do we check if a pointer is NULL pointer?

I always think simply if(p != NULL){..} will do the job. But after reading this Stack Overflow question, it seems …

c null-pointer
How do I define and use an ENUM in Objective-C?

I declared an enum in my implementation file as shown below, and declared a variable of that type in my …

iphone objective-c c
constant pointer vs pointer on a constant value

What is the difference between the following declarations? char * const a; const char * a; In order to understand the difference …

c pointers constants
In C/C++ what's the simplest way to reverse the order of bits in a byte?

While there are multiple ways to reverse bit order in a byte, I'm curious as to what is the "simplest" …

c++ c bit-manipulation
How to install pywin32 module in windows 7

I am trying to install pywin32. I downloaded it from sourceforge.net. When I run setup.py install it shows "…

python c compiler-construction mingw pywin32