Hi, everybody!
Now, you will make your first program.!
Please launch Dev-C++.
File menu -> New -> Project
Select the Consol Application, fill the name field as myfirst and select C Project.
finally, select OK button.
I recommend you to create a work folder for your project.
Now, I create a work folder as work.
Save myfirst.dev to work folder.
Oh, now you can see the some lines of the code.!
You just change some lines of the code.
Now, I will add a bolding line.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("Hello, this is my first program!\n");
system("PAUSE");
return 0;
}
For running your code, you need to compile.
Before compiling, save your code by using File menu -> Save.
Compile the code by using Execute menu -> Compile.
If you see the error, please check your code.
After compiling, you can run your first program by using Execute menu -> Run.
Wow!
Next lecture, I will explain the code as line by line.
See you next lecture!!!^^