Hello, Im a beginner in C and I’ve started learning about system calls and forking. I am forking in a loop but I get unexpected behaviour. My program takes one number and simply forks(), it also...
Type: Posts; User: mfr
Hello, Im a beginner in C and I’ve started learning about system calls and forking. I am forking in a loop but I get unexpected behaviour. My program takes one number and simply forks(), it also...
Hello, I’m writing a program that reads stdin using scanf() and extracts 2 pieces of information to use later. I want to use string formatting and scanf() to do this since I’m very new to C and want...
Hello I'm very new to C and I'm doing practice problems to improve my understanding. I've been stuck on a question about dynamic memory allocation and pointers, I want to set the value at ptr's to...
Thank you very much! This was something I didn't know, and it now works as I expected.
Also, the reason I didn't define and initialize in the same step is because I'm working through C practice...
Hello I've been having trouble with a really simple concept, and I'm new to C, and other resources are confusing me.
I have declared an array, and want to set each element but get a: Warning:...