- Visual Studio Code
- Eclipse
- Dec-C++
- CodeLite
- etc
To use in Windows you have to follow following things
- Download IDE any of mentioned Above
- Install the Compiler. You have to install minGW
- Download minGW from https://sourceforge.net/projects/mingw/
- Add the directory where you install MinGW plus bin. Example: if you install MinGW in C:\ then you have to add C:\mingw\bin to your path
For Windows User:
For the Easy way to startup on windows using visual studio use following instructions:
- Open Visual Studio Code.
- Install C/C++ Extension on VS.
- Write Basic Syntax for test.
- Save it as Main.C
- Add new Terminal
- compile it using GCC.
- To compile it write $ gcc main.c
- To run file write $ ./a.out
- ./a.out means if you compile the file then it will automatically compile it as a.out or a.exe file and you have to run it.
- Now your file will run.
For Linux User
For Linux user you can use any text editor.
- Write a program.
- Open Terminal using Ctrl+Alt+T
- To compile it write $ gcc main.c
- To run file write $ ./a.out
0 Comments had been done yet:
Post a Comment