C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
For example, int result; result = 125/100; or result = 43/100; Will result always be the floor of the division? What is the defined …
c math c99 c89 integer-divisionIs there a "proper" way to clear the console window in C, besides using system("cls")?
c windows console console-applicationWhy am I getting lvalue required as left operand of assignment with a single string comparison? How can I fix …
c lvalue strcmpWhat is the difference between the following declarations: int* arr1[8]; int (*arr2)[8]; int *(arr3[8]); What is the general rule for …
c arrays pointers variable-declarationHave an array of chars like char members[255]. How can I empty it completely without using a loop? char members[255]; …
c arrays charI want a function that returns -1 for negative numbers and +1 for positive numbers. http://en.wikipedia.org/wiki/Sign_…
c++ c mathI'm currently trying to port a C application to AIX and am getting confused. What are .a and .so files …
c unix compilation shared-libraries .aIf C does not support passing a variable by reference, why does this work? #include <stdio.h> void …
c pointers pass-by-referenceI'm trying to find a good way to print leading 0's, such as 01001 for a zipcode. While the number would …
c printfI need to work with a binary number. I tried writing: const x = 00010000; But it didn't work. I know that …
c++ c binary