stdio as an error..!!

“prog.c:1:16: fatal error: stdio: No such file or directory #include ^ compilation terminated.”
Now what’s this error and how should I avoid it?

Hello,

It seems you are doing something wrong…

Can you post your code here? And also, have you included the header #include <stdio.h> ?

Best,

Bruno

Did you forget the .h in stdio?

If you are using C, use #include <stdio.h> (or even #include "stdio.h")

If you are using C++, you can choose to stick with the C-style syntax or you can use the C+±style header, which is given as #include <cstdio>. Notice that we removed the “.h” and added a “c” at the beginning.