1. Editor and Compiler Setup
Considering you as newbies we are only going to suggest 2 editors (each) here. If you have any problems installing them then contact us. Until you've got some hands on experience it is better to stick with the first options in both cases.
i. Offline
We prefer to use VS Code and MSYS2 compiler.
Name | Link | Installation | Comment |
---|---|---|---|
Codeblocks | Download | How to setup | Codeblocks is one of the old but featureful IDEs still regarded as good |
Visual Studio Code | Download | How to setup | How to configure VS Code |
ii. Online
Name | Link | Comments |
---|---|---|
Programiz | Let's Code | |
OnlineGDB | Let's Code |
Pros of Online IDE
- Easiest to use
- Clean and Beginner friendly User Interface
Cons of Online IDE
- Need active internet connection
- Can perform basic codes. Online IDEs do not allow file operations.
- Codes are not saved in cloud/remote computer. You can copy and paste the co
Summary: Avoid online IDE
iii. Android
???
Hello, check, check !
The typical first program to check whether compiler, IDE are working or not...
#include<stdio.h>
int main()
{
printf("Hello World);
return 0;
}
fun fact, it is a 7 line code, but same work can be done with only 2 lines of code!
#include<stdio.h>
int main(void){printf("Hello World");}
Write this code character by character in your favorite code editor and run. If everything is alright then you will see your computer welcoming you to the world of programming😉.