C is a general-purpose computer programming language used for operating systems, games and other high performance work and is clearly distinct from C++. Questions about programming in C are off topic and will be closed or migrated. Consider asking your question at Stack Overflow instead.
Questions tagged [c]
302 questions
1
vote
1 answer
C compiler in command prompt
It is my understanding that the Windows operating system (Windows 7 to be exact) must come with a C compiler because the OS is written in C.
How can I access such a compiler to compile my C source code?
George Newton
- 216
0
votes
1 answer
calculating total CPU use in percentage
So I am working in C and I am considering opening the proc/cpuinfo file and just extracting the data. (Honestly not even sure how to do that.) But I am not sure how to calculate it. Is it just CPU MHz divided by total CPU speed?
So in the above…
ss2
0
votes
1 answer
C plotting library GR not working
I am trying to install C library GR [Link] on Ubuntu 18.04, after following the instructions to install, there is no error while installing but when using it gives the error :
foo.c:2:10: fatal error: gr.h: No such file or directory
#include
…
-1
votes
1 answer
include statement uses in C/C++ IDE
What determines when a file needs to be copied into a c/c++ project, instead of just using a #include statement? And if the IDE has project options that let the user list directories to include, how is that different than using many #includes in the…
Erik Iverson
- 101