how to make a function body repeat in c?

So I am making this program and I am almost done. However, before I finish I need to make a body function repeat n t...

Pointer to 2D arrays in C?

I know there is several questions about that which gives good (and working) solutions, but none IMHO which says clea...

Fill a drawed circle with the midpoint algorithm in c-> infinite-loop??

I am trying to draw a filled circle with the midpoint algorithm. I already managed to draw an unfilled circle with ...

Reading text-file until EOF using fgets in C?

what is the correct way to read a text file until EOF using fgets in C? Now I have this (simplified): char line[100...

Is C really used for a lot of Scientific Computing??

I'm currently taking a math class in College called "Scientific Computing" and the professor told us that C is the m...

What do pty and tty mean??

I noticed there are many mentions of pty and tty in some opensource projects, could someone can tell me what do they...

Using Exclamation Marks '!' in C?

I have come across a problem involving exclamation marks and integers whilst reading a code in my reference book. L...

Fibonacci sequence in assembly language?

Need some help understanding this more or less. We are just getting into loops and OFFSET operands and would apprec...

Switch case assembly level code?

I am programming C on cygwin windows. After having done a bit of C programming and getting comfortable with the lang...

Post Increment in while loop in C?

Here is a very simple C program: int main() { int i = 0; while(i++ < 10) printf("%d\n", i); ...

What does (*) mean in plain C??

I can't get the meaning of the "(*)" expression in the following statement: #define PySpam_System \ (*(PySpam_Syst...

How to run valgrind with basic c example??

Installation: bzip2 -d valgrind-3.10.1.tar.bz2 tar -xf valgrind-3.10.1.tar then: ./configure make make install ...

Passing an array of structs in C?

I'm having trouble passing an array of structs to a function in C. I've created the struct like this in main: int ...