I used to use CLion but it was so slow and clunky. The best C/C++ development experience I've ever had is VS Code with the clangd extension (and it's free as well).
CLion might not be the best app to start your 100 line script but it works the same on 1 000 000 line projects or even single file.