Dev C++ is a software that supports multiple operating systems, including Windows, Linux, etc. This means that users can use the same IDE for C++ development on different platforms to achieve the convenience of cross-platform programming. An efficient compiler is used to quickly compile C++ code and improve development efficiency. Next, let Huajun editor explain to you how to create a new C program in Dev C++ and how to create a new C program in Dev C++!
first step
Start the Dev C++ 5.11 software and enter the main interface.
Step 2
In the menu bar, click the File option. In the drop-down menu, select New. In the new dialog box that pops up, select "Source Code File" (or similar option, make sure you are creating a source code file).
Step 3
In the new source code file, enter the following simple C code:
#include <stdio.h>
int main() {
printf("Hello, World!n");
Return 0;
}
Step 4
Click the File option in the menu bar. Select Save or Save As.
Step 5
In the pop-up save dialog box, select a save location (such as the desktop or a folder). Enter a file name in the File name box, making sure to have “.c” as the file extension, for example “hello.c”. Click the Save button.
Step 6
Click the Run option in the menu bar. Select Compile & Run (or just click the Build & Run button on the toolbar, usually an icon with a green triangle).
The above is how the editor of Huajun compiled for you how to create a new C program in Dev C++ and how to create a new C program in Dev C++. I hope it can help you!