How to setup C/C++ in Sublime Text 3

How to setup C/C++ in Sublime Text 3


Hey , in this article you will learn how to setup C/C++ in sublime editor with input features and much more also stay intact for a bonus tip at the end !!

Follow this steps for a successful set up :

  • Head over to your browser and search for sublime text 3! Link
  • Download the appropriate file for your OS [This article covers only for WINDOWS]
  • You would also want to install MinGw as a compiler for your code. To set this up follow along this video : Link
  • After installation of Sublime Text and MinGw[Make sure that MinGw is in PATH], run Sublime as administrator.
  • Now get into Tools > Build System > New Build System
  • Now erase any defaults and copy paste the code given below !!
!!There is a simple method discussed below!!

{ 
    "cmd":
     [
         "g++", "-Wall", "-ansi", "-pedantic-errors", "$file_name", "-o", 
         "${file_base_name}.exe", "&&", "start", 
         "cmd", "/k" , "$file_base_name"
    ], 
     "selector": "source.cpp", 
     "working_dir": "${file_path}", 
     "shell": true 
} 

  • Save this new build system with your desire name and then make sure to select it under build system !!

  • Now hit Ctrl + B to run your code !! It will open up a new cmd window if  you have any inputs or it will simply compile and display the output !!



Hurray you have successfully completed the setup !!! But don't run away wait !!

So as promised , now it's time for a bonus tip and trick !!

  • Install package control under preferences and hit          package control > Install packages
  • Install Side Bar enhancement for better work flow , honestly you will be needing this !!
  • Install Terminallity to get the above functionality in a much simpler way and much easier!!
  • After installing Terminality hit ctrl + alt + R  to execute the program.

So that's it guys , hope you were successful and if you are stuck please do let us know in the comments we are happy to help you !!





Comments

  1. is there build system for C alone?

    ReplyDelete
    Replies
    1. How To Setup C/C++ In Sublime Text 3 >>>>> Download Now

      >>>>> Download Full

      How To Setup C/C++ In Sublime Text 3 >>>>> Download LINK

      >>>>> Download Now

      How To Setup C/C++ In Sublime Text 3 >>>>> Download Full

      >>>>> Download LINK Bq

      Delete
  2. Sublime Text
    I am very impressed with your post because this post is very beneficial for me

    ReplyDelete
  3. great tips you provide us thanx for sharing keep it up.Sublime Text 4 Crack

    ReplyDelete
  4. Sublime Text 4.4119 Crack
    “This software can help you finish your web project. It can also create a mobile-friendly site. If you want to use it, you should do so.

    ReplyDelete
  5. If you want to download the latest version of this software so links are given below
    Great work with hard work you have done I appreciate your work thanks for sharing it.
    Sublime Text Crack

    ReplyDelete
  6. After viewing some blog posts on your website,
    we thank you for your blog.
    We've added it to our list of bookmarked pages and we'll take a closer look
    tomorrow. Please go to my website and tell us what you think.
    Good work and hard work you have done. Thank you for your work, thanks for sharing.
    Sublime Text Crack

    ReplyDelete
  7. After looking through a few blog articles on your website,we sincerely appreciate the way you blogged.We’ve added it to our list of bookmarked web pages and will be checking back in the nearfuture. Please also visit my website and tell us what you think.Great work with hard work you have done I appreciate your work thanks for sharing it.
    DbSchema Crack
    Hetman Uneraser Crack
    IPVanish Crack

    ReplyDelete
  8. I realy impressed with your work and getting information from it. thanks. keep it up
    EditPlus Build crack

    ReplyDelete
  9. After looking through a few blog articles on your website,
    we sincerely appreciate the way you blogged.
    We've added it to our list of bookmarked web pages and will be checking back in the near
    future. Please also visit my website and tell us what you think.
    Great work with hard work you have done I appreciate your work thanks for sharing it.
    Sublime Text Crack

    ReplyDelete
  10. Really Good Work Done By You...However, stopping by with great quality writing, it's hard to see any good blog today.../
    IObit Uninstaller Pro Crack
    Sandbox Crack
    Hyper Snap crack
    Editor Em Professional Crack

    ReplyDelete
  11. How To Setup C/C++ In Sublime Text 3 >>>>> Download Now

    >>>>> Download Full

    How To Setup C/C++ In Sublime Text 3 >>>>> Download LINK

    >>>>> Download Now

    How To Setup C/C++ In Sublime Text 3 >>>>> Download Full

    >>>>> Download LINK cd

    ReplyDelete
  12. This is a fantastic piece of writing. This presents an excellent opportunity for me to broaden my knowledge. Take advantage of any opportunity that comes your way because anything can happen at any time. As a result, please visit my page and make use of the important information provided.
    https://hotpcsoft.com/i-my-fone-i-transor-for-whatsapp-crack/

    ReplyDelete
  13. An excellent and insightful piece of content. I'm so glad you shared this useful knowledge with us. Thank you so much for sharing! You should keep us informed like
    this, please. https://vstoriginal.com/antares-auto-tune-pro-crack/

    ReplyDelete
  14. I really appreciate your work. Thank you for the information you provide. Click here to see post.
    smadavpro
    soundironbowedbucket
    affinityphoto
    studiopluggundamelectraxbank

    ReplyDelete

Post a Comment

Popular Posts

Translate