You are on page 1of 2

control panel

system and security

install

mingw-w64
https://sourceforge.net/projects/mingw-w64/
downloads
mingw-w64 - gcc compiler
sourcefourge
download
double click to install
x-86
shorten directory into program files/mingw

set the path environment


control panel
search env
system edit variables
environment variables
path-edit-new-browse-programfiles-mingw64-bin
move up just below system32
done
cmd
type g++ --version

next

code lite integrated environment

free that work in windows, mac and linux


go to codelite.org
https://downloads.codelite.org/
click download
not now take me to the download
codelite windows 64 bit installer

install in local drive


desktop
press install
launch codelite

Configuring on Windows
cancel wizard
update theme select yes

Help-run the setup wizard


C/C++d development
Scan will look for the compiler
mingw-next
color system default
settings-build settings
compiler
write a simple program
new workspace
C++ workspace
firstWorkspace
no spaces
no special characters
right click - new-newproject
name project -project1
check project
category-console-non-graphical interface
type -simple executable g++
compiler -mingw
Debugger - gdb debugger
build system -default - ok
Project1
src folder
main.cpp -source code type the program
settings - font bigger - colors and fonts 16

std::cout<<"hello"<<std::endl;
return 0;
file-save-color red to green
build and run

set-up -use modern c++


select project
right-click-settings
compiler
c++ compiler-select-enable c++17 feature
you can use c++ 14 or C++17
optimize for debugging
produce debugging information
linker-linker options type -static

You might also like