I am new to Linux and just installed Debian; however, I'm really confused with how to install a C++ compiler? Also, I did some research and found codes to use in the Terminal but I am new to the Terminal and do not know how to use it correctly.
If you plan on learning about the shell/terminal , you can have this fantastic (e)book
The Linux Command Line (tlcl)
just use a search engine with the title as a keyword.the pdf is free.
sudo apt-get install buid-essential
The above command will install gcc , g++ , gdb , gnu as .
While you are getting acquainted with the shell you can use an IDE like codeblocks which will do all the not-so-elegant-typing-commands for compiling when you just press a button