Are there free PC programs where you can use C++, if so which one's? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

Are there free PC programs where you can use C++, if so which one's?

C++ for PC

12th Apr 2018, 6:08 AM
Vincenzinho
Vincenzinho - avatar
7 Answers
+ 9
are you talking about software IDE for compiling the C++ code then you can prefer Turbo C++ => but it consider a average compiler because it's old fashioned and not use some new library Codeblocks dev cpp Visual studio that's all u can use for your PC to execute the C++ source codes
12th Apr 2018, 6:18 AM
MsJ
MsJ - avatar
+ 7
You can use compilers to compile code directly from the terminal, without having to install IDEs containing them for the same. Available compilers : https://en.m.wikipedia.org/wiki/List_of_compilers#C++_compilers The code can be written in notepad or vim and then compiled via cmd or terminal.
12th Apr 2018, 10:08 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 7
dev++ c free visual studio Turbo
28th May 2018, 12:48 PM
Yahya Alhaddad
Yahya Alhaddad - avatar
+ 6
Notepad++ -> nppexec script -> compiler. Barely used any ressources and still has the convenience of a good IDE, because you can use plugins designed for c++ development (autoindent, ccompletion, etc.)
12th Apr 2018, 10:14 AM
Alex
Alex - avatar
+ 5
Here is the script I'm using: (each block is 1 line) NPP_SAVE cd$(CURRENT_DIRECTORY) cmd /c g++ ...insert compiler options here... $(FILE_NAME) -o $(NAME_PART).exe & IF ERRORLEVEL 1 (echo. && echo Syntax errors were found during compiling!) ELSE ($(NAME_PART).exe) This saves the file, goes to the files directory, compiles it, if errors were found outputs them in the notepad++ console and if no errors were found it outputs warning messages (depending on the compiler options) and your programs output. But for a beginner I would recommend to just use Codeblocks. It comes with a compiler and is easy to use.
12th Apr 2018, 10:33 AM
Alex
Alex - avatar
+ 3
do notepad++ really compiles C++ and java..
28th May 2018, 10:13 AM
OM KASHYAP
OM KASHYAP - avatar
+ 2
Notepad++ doesn't compile c++. But you can compile it via script.
28th May 2018, 10:21 AM
Alex
Alex - avatar