iot based projects

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.

how are compiling and running it people normally use the python VIDLE

  Joined August 14, 2018      44
Tuesday at 03:25 PM

hey sir,i couldn't understand you as i zam very junior right now studying only 

if you have not understand my problem i am again pasting it here and i request you to see the smart digital locker project of circuit digest where coding is in c.that's why i used gcc compiler not python compiler.i think i request you to understand my problem 

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

  Joined November 03, 2018      5
Saturday at 01:00 PM

let me give you a glimpse of error too and what error i am getting and what basically i think is that there is some problem of library.please make a video and help me on this

./tree.c: line 22: char: command not found
./tree.c: line 23: char: command not found
./tree.c: line 24: int: command not found
./tree.c: line 25: char: command not found
./tree.c: line 26: char: command not found
./tree.c: line 27: char: command not found
./tree.c: line 28: 1,: command not found
./tree.c: line 29: 4,: command not found
./tree.c: line 30: 7,: command not found
./tree.c: line 31: *: command not found

 

  Joined November 03, 2018      5
Saturday at 01:00 PM

If you are referrign to this project https://circuitdigest.com/microcontroller-projects/smart-phone-controll…

Then you should use the Arduino IDE to compile your project.

If you are onloy getting started with Arduino https://circuitdigest.com/microcontroller-projects/arduino-uno-led-blin… you can refer this link 

  Joined May 19, 2015      213
Tuesday at 03:45 PM

hey jayant sir,i think you misinterpreted my project.my project i mentioned link below

https://circuitdigest.com/microcontroller-projects/raspberry-pi-digital…

again i am posting error too and please explain in simple manner as i am an ug student.

char command not found 

int command not found

which is there in code in starting

I HAVE NOT INTERFACED KEYPAD SIMPLY RUNNING CODE ON PI TERMINAL

HOPE YOU WILL REPLY IMMEDIATELTY

 

 

  Joined November 03, 2018      5
Saturday at 01:00 PM

you could mail me too at harshitsingh089@gmail.com

 

  Joined November 03, 2018      5
Saturday at 01:00 PM

please help

  Joined November 03, 2018      5
Saturday at 01:00 PM