Top "C" questions

C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.

Constant pointer vs Pointer to constant

I want to know the difference between const int* ptr; and int * const ptr; and how it works. It is …

c pointers constants
Why does ENOENT mean "No such file or directory"?

What does the ENT mean in ENOENT? Shouldn't the error: No such file or directory just be named by ENOFILE? …

c linux unix
Why use pointers?

I know this is a really basic question, but I've just started with some basic C++ programming after coding a …

c++ c pointers
How to reverse a singly linked list using only two pointers?

I wonder if there exists some logic to reverse a singly-linked list using only two pointers. The following is used …

c algorithm data-structures linked-list singly-linked-list
'uint32_t' identifier not found error

I'm porting code from Linux C to Visual C++ for windows. Visual C++ doesn't know #include <stdint.h> …

c++ c visual-c++
C: Run a System Command and Get Output?

Possible Duplicate: How can I run an external program from C and parse its output? I want to run a …

c linux system
How do I lowercase a string in C?

How can I convert a mixed case string to a lowercase string in C?

c string lowercase
Reading numbers from a text file into an array in C

I'm a programming noob so please bear with me. I'm trying to read numbers from a text file into an …

c arrays file scanf
Difference between signed / unsigned char

So I know that the difference between a signed int and unsigned int is that a bit is used to …

c types unsigned
"Unresolved inclusion" error with Eclipse CDT for C standard library headers

I set up CDT for eclipse and wrote a simple hello world C program: #include <stdio.h> int …

c eclipse eclipse-cdt standard-library