hey there,i am creating a project of smart digital locker using raspberry pi just for fun but the code provided by you on that shows runtime error ,though it not shows compile time error
my compile command was sudo gcc filename.c -lwiringPi
run with ./filename.c it shows char and int command not found what to do what is error? please help me asap
also sudo gcc -o filensame.c -lwiringPi also shows error please help me as quickly as possible.