Download presentation
Presentation is loading. Please wait.
1
Compile and run c files
2
Create c file Open any editor: jgrasp or notepad orany other editor.
Paste the following piece of code: #include <stdio.h> int main (void) { printf("Hello World\n"); } Save the file as hello.c
3
First: copy the directory of the C file
4
Second: change the directory
Open CMD and type: cd (the directory of the c file) separated by / to change the directory to the location of the file. Ex: cd /Users/rawabialwanin/Desktop Directory changed
5
Compile and run C file compile run output
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.