A
A
Alexander2018-09-05 21:47:54
linux
Alexander, 2018-09-05 21:47:54

Problem with C code?

I read the book "UNIX Professional Programming" from the introduction, I do the first code example, a simple ls utility and an error appears (the code and the error are visible in the image). Who can explain how to fix it if possible in detail 5b9024591a937495109411.png5b902b97d0ed0845317475.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2018-09-06
@jcmvbkbc

Who can explain how to fix it if possible in detail

5b904eba4b1b1968222548.png

D
Dvvarreyn, 2018-09-08
@Dvvarreyn

Compile the code. And see what errors the compiler throws. In my opinion, there will simply be no errors, the code is correct.
What you see is the glitches of the environment.
If there are errors, then publish the full code, as code, and not as a picture. Well, mistakes.
Now it’s impossible to understand what’s going on with you and reproduce it in principle because of the custom plug-in.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question