I have a need to put an invalid hex pattern into a C-99 double value. Unfortunately, this does not work (for obvious reasons): Neither does this ( ...
I have a need to put an invalid hex pattern into a C-99 double value. Unfortunately, this does not work (for obvious reasons): Neither does this ( ...
I am getting error during initialization of nested structure containing two members unsigned int typedef void (*vfptr)(void);. The first stru ...
I executed the command "make" after the configurations on the menuconfig of buildroot and then this error appeared. It appears when i enable eudev. C ...
The following program compiles as a C program: However, when compiled as C++ with g++, I have: It seems that this feature of C does not exist in ...
I am trying to parse user input from scanf() by using the white spaces. I wanted to separate each string as I will be using them as commands in UNIX. ...
Are void and char pointer guaranteed to have the same memory representation? In other words, after executing the following: Can I be certain that ...
I want to plot the sinus function with Gnuplot using C99 on CLion from JetBrains (Windows 10). I have been given a code that is supposed to work: T ...
Background: I am currently writing a .dll library using Visual C (NOT C++) which intends to provide performance-optimized functionalities for other a ...
So I am trying to delete a node in a doubly linked list, given only a pointer to the node. This is my code: When I try to delete a single node, the ...
I have thousands of "commands" that are all defined in their own files, and I want to be able to do things with them programmatically using an enum as ...
I've couldn't find an already existing source for this so I've come to ask here. If you know a good source that I can refer to please let me know it b ...
I'm trying to check whether a given macro token is a pointer (__builtin_classify_type(...) == 5), but I'm running into an issue where the defined outp ...
I'm giving the above problem's solution, note that I'm using DevC++ code editor here ...
I want to convert a uuid to hex string in C99 and pass it to a log function which uses printf format under the hood. I want to avoid the separate allo ...
There is a similar discussion on Count number of elements for static array initialization in C - but I still cannot tell if all the opportunities in m ...
The C Programming Language by Brian Kernighan and Dennis Ritchie contains a lot of examples such as this famous one (K&R 2nd edition 1.1): Here ...
Hello nano developers, I'd like to realize the following proto: The dots denote, there are more messages with (multiple) primitive containing data ...
The C99 specified inttypes.h header includes macros for providing format specifiers for the fixed-width integer types provided by stdint.h (beginning ...
Does the C standard (C99 +) require the implementation to allow function declarations to be placed within a block in order to limit their scope to tha ...
vector<vector<int>> v(100, vector<int>(100)); // 101 vector<int> are created I need to created a vector of vectors (or objec ...