Skip to content

nxtsourav7/Happy-Coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Happy-Coding

A Competitive Programming setup using VSCode for C++ users in Ubuntu with Debugging support.

Features

  1. VSCode ready to use out of the box .
  2. Run ./templete.sh in Ubuntu to reset the Scratch Folder.
  3. All .cpp files automatically take input from input.txt and output to output.txt in the same folder.

Prerequisites

  1. Follow Steps 1-2 from Official VSCode Linux Prerequisites
  2. Make sure g++ is installed
    • Install
      sudo apt-get update
      sudo apt-get install build-essential
    • Check Installation
      g++ --version
      gdb --version

You are good to go!

Installation

  1. Download this repository.

    git clone https://github.com/nxtsourav7Happy-Coding.git
  2. Open VSCode in Happy-Coding Folder.

    cd Happy-Coding
    code .
  3. Open a Integrated Terminal by clicking on Terminal -> New Terminal or press Ctrl+ Shift + `

  4. You can always create a Scratch Folder from terminal by

    • Make the script executable (Only needed once)

      chmod +x templete.sh
    • Execute the script

      ./templete.sh

    Note: To reset the Scratch Folder at any time, you may run this command again.

Usage

  1. You should write your code in the Scratch Folder.
  2. Press F5 or click Right top cornner Play batton to run any .cpp file. The file will automatically take input from input.txt and write output to output.txt

Happy Coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published