Program not compiling
Title
Question
Hello everyone, i downloaded gcc compiler from chooclatety website using window power shell .
Now following the steps given in the tutorial i coded in notepad++ but the program is no compiling & giving the following error in window power shell. pls tell what to do to ???
PS C:\Windows\system32> gcc talk.c -o output parameter
gcc.exe: error: talk.c: No such file or directory
gcc.exe: error: parameter: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
PS C:\Windows\system32>
C-and-Cpp First-C-Program 08-09 min 0-10 sec
Answers:
Dear User,
Before you start going through the C and Cpp series of Spoken Tutorial, please go through the Installation and Instruction Sheets thoroughly. Please follow all the steps and then begin with the video. Here are the links-
https://spoken-tutorial.org/media/videos/43/C-and-Cpp-Installation-Sheet-English.pdfhttps://spoken-tutorial.org/media/videos/43/C-and-Cpp-Instruction-Sheet-English.pdf
Answers to your question-
1) You have probably not saved your "talk.c" file on your machine.
2) You can save the code in the Notepad++ editor in any location on your machine, as per your preference. Just make sure that you are in the same directory in the command prompt before executing the program.
Login to add comment