Saya: Few best choices you have are; Notepad++, Sublime Text Editor, Visual Studio Code, VIM, rest up to you and your requirement.
Compiler: Visual Studio
Eclipse, Emac, Notepad++, Codewright. I have no preference.
If I am making a simple change I use vi.
I use g++ to compile because most of my code is C++ I use a lot of classes and overloads.
I use vim on Linux. Which works best for me, because after 30 years all the commands are deeply programmed into the muscle memory of my hands.
I use notepad++ since 2006
few proper choices you have are; notepad++, sublime text editor, visual studio code, vim, rest up to you and your requirement…