saving . . . saved problem regarding execution of c program in windows has been deleted. problem regarding execution of c program in windows has been hidden .
problem regarding execution of c program in windows
Title
Question
Dear Sir/Madam, I have successfully installed MinGW compiler on my \r\nwindows 7 system . But in tutorial segment the demo has \r\nbeen given only of program execution in ubuntu operating system. We have\r\n done compilation of  the program  also but how to run that program? o \r\n-myoutput command is not executing in windows. So \r\nkindly guide me how to run that program
Thanks & regards
Ashish

C-and-Cpp First-C-Program 06-07 min 50-60 sec 15-02-20, 12:30 p.m. atb

Answers:

You can install by following the instructions in 

<a href="https://spoken-tutorial.org/media/videos/43/C-and-Cpp-Instruction-Sheet-English.pdf">https://spoken-tutorial.org/media/videos/43/C-and-Cpp-Instruction-Sheet-English.pdf</a>

<a href="https://spoken-tutorial.org/media/videos/43/C-and-Cpp-Installation-Sheet-English.pdf">https://spoken-tutorial.org/media/videos/43/C-and-Cpp-Installation-Sheet-English.pdf</a>

After installing you can compile by: gcc program.c -o output
And then run the program by executing the just created executable named output
15-02-20, 2:37 p.m. bhaveshd


Please follow the below steps for creating, compiling and executing the program:
1. Create a folder on your desktop "Practice".
2. Open Notepad++ and create a first program shown in the video.
3. Goto File -> Save As and save the program under Desktop -> Practice with name as "talk.c" (name of the program file)
4. Open command prompt and give the full path of your "Practice" folder and press enter.
For Example:   cd "C:\Users\User\Desktop\Practice\" 
5. To compile the program, write down below command: 
gcc talk.c -o myoutput
6. To execute the program, write down below command:
myoutput
7. Output will be shown....
01-05-20, 4:21 p.m. uzairaziz2004


Log-in to answer to this question.