Giter VIP home page Giter VIP logo

cp-res's Introduction

Steps to use

If you have Sublime Text installed, you can use these commands (which are based on the subl command line tool that Sublime Text uses). There is a default template.cpp file that can be used as a template. To make a new file named <filename>.cpp out of this template, simply run the following command.

  bash make-cp <filename>

This will create a new file for you, and open it in Sublime Text for you to modify. To run the file, either follow standard C++ building steps, or you can also do

  bash run-cp <filename>

template.cpp uses the files input.txt, error.txt and output.txt for input, error and output redirection, if the flag ONLINE_JUDGE is not set (most online judges set this flag to true). So, after running the above command, you should be able to see the output in the output.txt file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.