DOWNLOAD
* BEFORE DOWNLOADING IT MAKE SURE, YOU ALREADY INSTALL MinGW COMPILER.
1. Open Codelite
• The following window will pop-up.
2. Now click on Download button under navigation bar.
• The following slide bar will open, now click on Stable / Lastest.
• The following window will pop-up.
3. Now Click on Codelite 15.0 for Windows 64 bit Installer under Stable Release.
Note: I have 64 bit windows , that's why I choose it. You have to choose according to your windows bit. • Now it start downloading and installer is look like this
4. Installing Codelite
• The following window will pop-up.
• Here i'm installing Codelite in C:\ drive, you can choose any drive to install it. But I recommend you to install it in C:\ drive.
6. Click Next >.
• The following window will pop-up.
8. Now check the box and Click on Next >.
• The following window will pop-up.
9. Click on Install.
• Following window will pop-up and it start installing Codelite in C:\ drive. • Now Codelite is successfully installed on our system.
11. This is Codelite default interface.
• Click Yes for bottom question and it will restart your Codelite software.
12. Click on Help under navigation bar.
• Following slide bar will be shown up.
• The following window will pop-up.
• The following window will pop-up, mark for C/C++ development.
• The following window will pop-up, we already install MinGW compiler so click on Scan.
• Following window will pop-up , showing MinGW compiler.
• The following window will pop-up.
• Under Theme Select DARK theme.
18. Click Next >.
• Following window will pop-up, leave it as it is.
• Our Codelite is ready to use.
CREATING WORKSHOP TO DO PROGRAMMING / TASK
20. Click on New Workshop.
• Following window will pop-up.
• Following window will pop-up.
• In my case I'm giving it name as FirstWorkshop.
• For this Right click on FirstWorkshop then New → New Project.
• I'm giving it name as Demo.
• Category: Console
• Type: Simple Executable (g++)
• Compiler: MinGW (C:\MinGW\bin\)
• Debugger: GNU gdb debugger
• Build System: Default
• Following window will shown up, showing basic structure of C Language.
• Now it showing RED lines on left side of program that means our program is not save.
• To SAVE to press CTRL + S or under File Section click SAVE.
• For this RIGHT click on DEMO project and then SETTINGS.
• Following window will pop-up.
• Now check box for Enable C++ 17 features [-std=c++17] or Enable C++ 14 features [-std=c++14] but don't choose both. Click OK.
33. We have to do one more setting, select Linker section from left side column.
• Select Linker Options and write -static.
35. Now we are Ready to execute our program.
• For this click on Build under navigation bar then RUN.
• Now command prompt will pop-up, showing our output of the program that is "Hello Guys!".
VIDEO
Comments
Post a Comment