You cannot 'install' programming languages. Instead, you can try to install a compiler or an IDE.
You should install a C or C++ compiler first.
The Netbeans website provides a comprehensive FAQ detailing how to install the C/C++ plugin as well as integrating your chosen C/C++ compiler, linker and debugger package.
dnf install ncurses-devel
Basic and C++ are two different languages. You can have them both, but you need to install them. By default Windows OSes do not have it. When Linux based have an option to install C++ compiler.
You cannot install a programming language on your computer, only a particular compiler. Pick one.
The same way you use C++ on all previous versions: install the appropriate Windows 7 SDK(s) then install a suitable compiler that supports Windows 7.
You can use a software called DOSboxAnother Answer:Turbo C++ was discontinued in 2009 by Embarcadero Technologies. While you might be able to get it to run in Windows 7 using compatibility mode, it would be better to upgrade to C++Builder.You can use DOSBox to install Turbo C in Windows 7. Or Turbo C Simulator which install Turbo C in Windows 7 in a single click.
Download and install the WinBGIM Devpack. Once installed, you can include graphics.h to draw graphics.
Any C++ implementation Windows will do. But if you want to write 64-bit code, you will need a 64-bit compiler.
The documentation that came with your implementation will tell you how to go about installing it, but other than having a 64-bit machine with a 64-bit operating system there are no special requirements for installing 64-bit C++. You install it just as you would the 32-bit version.
b+b+b+c+c+c+c =3b+4c
c + c + 2c + c + c = 6c