what is the best linux IDE for c++
Try CodeLite IDE or Eclipse CDT . CodeLite in my opinion looks fancier and pleases the eye while coding, also it's probably the best generally. Of course many people might think others are better, each has pros and cons anyway.
I am using codeblocks IDE, It is open source