C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
Every time I try this: long crypt(int *integer) { printf("Enter five digit integer:\n"); scanf("%i",integer); int digit1=…
c header-files operandsWant to use __ DATE __ and __ TIME __ as integer for giving automated version to my code in compile time. #define STRINGIZER(…
c macros predefined-macroHere's what I am trying to do: typedef enum { ONE, TWO, THREE } Numbers; I am trying to write a function …
c enums c-preprocessorI have a .exe and many plug-in .dll modules that the .exe loads. (I have source for both.) A cross-platform (…
c++ c visual-studio memory-leaksIn the sake of debugging purposes, can I get the line number in C/C++ compilers? (standard way or specific …
c++ c c-preprocessor line-numbers dynamic-compilationWhat is the use of the %n format specifier in C? Could anyone explain with an example?
c printfI know that waitpid() is used to wait for a process to finish, but how would one use it exactly? …
c fork parent-child waitpidI am new to pthreads, and I am trying to understand it. I saw some examples like the following. I …
c linux pthreadsI have a program, which is running on two processors, one of which does not have floating point support. So, …
c floating-point emulation