C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
I have two macros FOO2 and FOO3: #define FOO2(x,y) ... #define FOO3(x,y,z) ... I want to define …
c macros c-preprocessorWhat would this statement yield? void *p = malloc(sizeof(void)); Edit: An extension to the question. If sizeof(void) yields 1 …
c++ c language-lawyer sizeofI'm trying to write a simple program that asks a user to choose from a menu in a loop. I …
c getcharThis question goes out to the C gurus out there: In C, it is possible to declare a pointer as …
c pointers sizeWhat I understand is that this shouldn't be done, but I believe I've seen examples that do something like this (…
c++ c function struct return-typeHow to convert an unsigned char value into a float or double in coding in AVR studio 4.? Please help I …
c++ c microcontroller atmega16 avr-studio4I'm making a c file for a dispatch queue that gets a task and put it in to a queue …
c multithreading function pthreads createthreadIs there an API to get the number of CPUs available in Linux? I mean, without using /proc/cpuinfo or …
c linux multithreading cpu processorPossible Duplicate: Can I use a binary literal in C or C++? I am learning C and i recently found …
c binary integer representationI am trying to implement a linear least squares fit onto 2 arrays of data: time vs amplitude. The only technique …
c algorithm least-squares