CLion Setup for Competitive Programming

I have the premium version of CLion and I have been using it for sometime but I don’t know how to properly set it up for competitive programming. I basically need help with the following:

  1. Setting up a code template so when I create a new file basic code is already there.
  2. Using the debugging tool
  3. Any other tips

I would appreciate it if someone could give links to tutorials or blogs or help me with the above.


You may see the jetbrains youtube channel

Just Write down your template on Clion, select all and then go to Tool Section and save it as a live template and give a name to it (suppose snip) So after saving whenever you type snip and press tab/enter you will get your saved template .

1 Like

Thank you! I was searching for this only!

1 Like

@manani,I also have CLion premium, I’m in stuck, can you please help me out

1 Like

How is your experience with Clion is it best than visual studio code and sublime setup?

Oops, I didn’t check Codechef Discuss since a while and I didn’t got any mail regarding the same. Sorry for replying late!

What is the issue you are getting?

check this…