Setting up of Environment For Competitive programming



 

Setting up of editor is an important step toward your Competitive programming journey. But Before setting up of editor we will talk about what is an editor and why we need it?

source-code editor is a text editor program designed specifically for editing source code of computer programs. It may be a standalone application or it may be built into an integrated development environment (IDE) or web browser. Source-code editors are a fundamental programming tool, as the fundamental job of programmers is to write and edit source code.

There exists so many code editor of all types, written in all languages but all of them are tailored down for Development of Software and none is specially focused for Competitive Programming. As competitive Programmers, we need our Editor to be Fast, Reliable and Something that just works. We focus mostly on correctness of our code and this involves compiling and re-running on sample test cases again and again.

So, here is the list containing the best text editors that will help a developer write highly optimized code.

5 Best Code Editors for Competitive Programming

1)CP EDITOR

CP Editor is Fast written in Native C++ (Qt), Cross-platform (works everywhere), and has all basic features that a competitive programmer needs from an editor. CP Editor takes away your responsibility of compiling the code and running it on your sample test cases. It automatically with just one click or keystroke compiles and runs your program and gives back to you the output.


 

                                                     

2)Notepad++

Notepad++ is an advanced and feature-rich sibling of the Notepad text editor you find in Windows OS. There is a major interface difference between the two which you may notice immediately after starting Notepad++.

The application supports various programming languages, but it is typically known for being the best HTML editor. The application supports colored lines while writing the syntax of the language and further highlights the mistakes in the code immediately.


 

                                                                           

3)SublimeText

Sublime text is another lightweight text editor. It is compact but powerful. It provides powerful IDE-like features along with Python Scripting and with an ability to customize the editor and letting the coders program with great speed and efficiency. There are many code editors which support the black background for enhanced view and Sublime Text is one of them.

                          

                                        

4)Atom

Atom is the invention of GitHub’s greatest minds and looks very similar to the Sublime Text. The interface looks just like the clone of the latter text editor. Many programmers would feel more comfortable in using Atom as it has got a simple interface as compared to the Sublime Text.

                      

                                                        

5)Coda

So, here comes a Mac supported Text Editor for the flashy programmers who like speed and optimization in a single code editor. Coda supports OS X 10.7.5 and later versions of Mac and is one of the very few code editors that have been carefully designed for the Mac systems only.

The application has evolved much from its initial release in 2007 from a simple text editor to a previewer. It included every essential feature that you will need to power up your coding session including the syntax, reviewing and uploading your webs pages. The Transmit Turbo Engine supports the quick uploads from a remote location.

       

                                                                                                      

Note: Above all editors I prefer sublime text editor

Steps to setup your Editor

                      

1)Setting up file I/O Environment:-

In most contests, standard streams are used for reading input and writing output. In C++, the standard streams are cin for input and cout for output. In addition, the C functions scanf and printf can be used.










  2)Auto formatting the code:-





 3)Keyboard shortcuts:



  Note: Here is the link to this the list of keyboard shortcuts for Sublime Text Editor 



Some other useful videos :-

My VS Code Setup for Competitive Programming | Vim Trailer too



Conclusions
So to master the Competitive Programming you need dedication, patience and continuous practice to solve the problems as many as you can


Code,sleep,eat and repeat.

Enjoy Coding !

~Kuber Khandelwal





 

 


Post a Comment

0 Comments