C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
I have been working on a small exercise for my CIS class and am very confused by the methods C …
c getline scanfI have a char[] that contains a value such as "0x1800785" but the function I want to give the value …
c char intI'm trying to solve the 3n+1 problem and I have a for loop that looks like this: for(int i = …
c gcc for-loopI came across a reference to it recently on proggit and (as of now) it is not explained. I suspect …
c linux environment-variablesI've noticed that the Linux kernel code uses bool, but I thought that bool was a C++ type. Is bool …
c gcc linux-kernel booleanI have a bit of an issue with one of my projects. I have been trying to find a well …
c linux fork shared-memoryHow do I use valgrind to find the memory leaks in a program? Please someone help me and describe the …
c valgrindIn a recent code review, a contributor is trying to enforce that all NULL checks on pointers be performed in …
c++ c if-statement null coding-styleI was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux …
c windows debugging memory-leaks valgrindWhat's the difference between char* name which points to a constant string literal, and const char* name
c pointers constants