Top "C" questions

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

Sharing memory between two processes (C, Windows)

Since I haven't found an answer to the question asked previously here I'm trying a different approach. Is there any …

c windows memory share code-injection
python ? (conditional/ternary) operator for assignments

C and many other languages have a conditional (aka ternary) operator. This allows you to make very terse choices between …

python c language-features
opengl: glFlush() vs. glFinish()

I'm having trouble distinguishing the practical difference between calling glFlush() and glFinish(). The docs say that glFlush() and glFinish() will …

c++ c opengl graphics
How to get a list of video capture devices (web cameras) on linux ( ubuntu )? (C/C++)

So all I need is simple - a list of currently avaliable video capture devices (web cameras). I need it …

c++ c linux webcam device
C header issue: #include and "undefined reference"

Alright, I've been trying to work with this for the longest time, and I simply can't seem to get it …

c gcc header header-files undefined-reference
printf inside CUDA __global__ function

I am currently writing a matrix multiplication on a GPU and would like to debug my code, but since I …

c++ c cuda gpu-programming
Learn C first before learning Objective-C

Being an aspiring Apple developer, I want to get the opinions of the community if it is better to learn …

c objective-c cocoa
Forward an invocation of a variadic function in C

In C, is it possible to forward the invocation of a variadic function? As in, int my_printf(char *fmt, ...) { …

c variadic
Fixed Point Arithmetic in C Programming

I am trying to create an application that stores stock prices with high precision. Currently I am using a double …

c fixed-point
Create extern char array in C

How to create an external character array in C? I have tried various ways to define char cmdval[128] but it …

c char extern