View Full Version : How to resolve this problem?
enhhn17
February 1st, 2012, 13:38
I have this error:
error: stdio.h: No such file or directory
warning: implicit declaration of function 'scanf'
warning: nested extern declaration of 'scanf'
How can I resolve this problem?
SirDice
February 1st, 2012, 14:11
Please post your code. We're good but we're not clairvoyant.
mix_room
February 1st, 2012, 14:30
Your compiler isn't finding the included files. Tell the compiler where the file is located.
Two hints:
a) read the error messages.
b) read the man-pages.
These two hints will help you solve a lot of your own problems in future.
fonz
February 2nd, 2012, 04:11
Please post your code.
And the command(s) you used to compile the code.
diegoshaman
February 23rd, 2012, 17:40
Are you programming in C? Put:
#include <stdio.h>
fonz
March 1st, 2012, 02:43
Are you programming in C? Put:
#include <stdio.h>
Swing and a miss. Please read the question.
fluca1978
March 1st, 2012, 13:15
Swing and a miss. Please read the question.
Yes, the include is surely in place, simply the compiler does not know where it is. Maybe your include path is wrong? We need the compiling command to dig more.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.