C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
How can I check if a directory exists on Linux in C?
c linux directoryI came across these two methods to concatenate strings: Common part: char* first= "First"; char* second = "Second"; char* both = malloc(…
c string performance concatenationIf I have some integer n, and I want to know the position of the most significant bit (that is, …
c algorithm optimization bit-manipulationI am running my own http server on a raspberry pi. The problem is when I stop the program and …
c sockets raspberry-piWhen I tried the following code I get the error mentioned. if(a==1) int b =10; But the following is syntactically …
c syntax-error conditional-statements variable-declarationHow do pointers-to-pointers work in C? When might you use them?
c pointersI've got a full-heap core dump from a dead process on an x86 Linux machine (kernel 2.6.35-22 if it matters), …
c linux gdbI've been getting strange compiler errors on this binary search algorithm. I get a warning that control reaches end of …
c warnings compiler-warningsI'm looking for an implementation of CRC32 in C or C++ that is explicitly licensed as being no cost or …
c++ c crc32I have been struggling for a few hours with all sorts of C tutorials and books related to pointers but …
c string debugging