C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
I have included: #include "stdio.h" #include <readline/readline.h> #include <readline/history.h> and my …
c linux libreadlineWe are compiling an embedded C++ application that is deployed in a shielded device in an environment bombarded with ionizing …
c++ c gcc embedded fault-toleranceI want the absolute-value from a negative double - and I thought the abs-function was as easy to use as …
c doubleI am trying to return pointer from a function. But I am getting segmentation fault. Someone please tell what is …
c pointers segmentation-faultAfter all, both these statements do the same thing... int a = 10; int *b = &a; printf("%p\n",b); printf("%08…
c++ c printfI am using the following C code to take input from user until EOF occurs, but problem is this code …
c stdioLet's say I have code in C with approximately this structure: switch (something) { case 0: return "blah"; break; case 1: case 4: return "…
c switch-statement correctnessSimple question for which I could not find answer on the net. In variadic argument macros, how to find the …
c++ c c-preprocessor variadic-macrosWhat integer hash function are good that accepts an integer hash key?
c algorithm hash