Alternatively, you can press Ctrl Alt N. To execute your code, click the Run button on the top right.Press Ctrl S on your keyboard to save the file.For this tutorial, I will use this code to print a simple “Hello World” message: Write, or paste your code into the editor.I will name it HelloWorld.cNote:Alternatively, you can select the folder icon and select the folder which contains your C or C project to import it. Then, type the source file name with the. Create a new source file by clicking on the New File icon. Paste the copied path here, then click OK. Paste the copied path here and select OK.Select Path under the “Variable” column.Search for “path” and select Edit the system environment variables. By default, it is C:\MinGW\bin.Ĭopy the path of the bin folder inside the MinGW folder.įrom the start menu, search for “Path.” Then, select Edit the system environment variables option. Copy the path of the bin folder inside the MinGW folder. In the Installation menu, select Apply Changes.īefore running your C or C program, you must add the MinGW bin directory to your system path.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |