High School Developer Tools

Follow these guides to make sure your computer is ready for the contest!

This guide includes instructions for Windows and Mac. Contact Us if you need instructions for Linux.

Download and Install 
Developer Tools

You need to download and install a current version of the "Build Tools" and "Editor" for your language on the computer you bring to the contest BEFORE you arrive, since some of these packages take a long time to download and install.

You will use the "Build Tools" to compile and run your code. You should use an "Editor" designed for your language. Editors make it much easier to create/modify your code, since they provide syntax highlighting and auto-complete features.

JavaScript (ES6 with Node v12)
Download Build Tools: Windows | Mac | Ubuntu
Download Editor: Windows | Mac | Linux

Python 3
Download Build Tools: Windows | Mac | Ubuntu
Download Editor: Windows | Mac | Linux

Python 2
Download Build Tools: Windows | Mac | Ubuntu
Download Editor: Windows | Mac | Linux

Java (JDK 8)
Download Build Tools: Windows | Mac | Ubuntu
Download Editor: Windows | Mac | Linux

C++
Download Build Tools: Windows | Mac | Ubuntu
Download Editor: Windows | Mac | Linux

C
Download Build Tools: Windows | Mac | Ubuntu
Download Editor: Windows | Mac | Linux 

Edit and Run
Source Code

Make sure you are familiar with how to edit and run your source code before you arrive. Practice compiling and running your source code from the command line.

When you run each program, you need to provide sample input to test your program. Rather than type the input each time you run a program, we strongly recommend you create a text file with your input and "redirect" the text file to your program each time you test your program. See the example commands in the Practice Problem section of your Team Packet.

Are you new to the Command Line? No problem!

Read this well written Introduction to the Command-Line Interface to learn the basics.

Once you learn the basics, change to the directory where you saved your source code files and input text files. Then practice running the example commands shown in the Practice Problem section of your Team Packet.

Examples

These examples are based on Practice Problem #2 and assume your sample input has been saved to a text file named "prac02.txt"

JavaScript
JS is an interpreted language, so you will use the Node Interpreter to compile and run your source code.

cd \path\to\my\program\
node prac02.js < prac02.txt

Python 2
Python is an interpreted language, so you will use the Python Interpreter to run your source code.

cd \path\to\my\program\
python2 prac02.py2 < prac02.txt

Python 3
Python is an interpreted language, so you will use the Python Interpreter to run your source code.

cd \path\to\my\program\
python3 prac02.py3 < prac02.txt

Java 8
You will use the Java Compiler to create an executable version of your program, then you will run that executable.

cd \path\to\my\program\
javac prac02.java
java prac02 < prac02.txt

C++
You will use the C++ Compiler to create an executable version of your program, then you will run that executable. By default, the C++ compiler "c++" or "g++" creates an executable named "a.out" on Mac and Linux.

cd \path\to\my\program\
c++ prac02.cpp
./a.out < prac02.txt

C
You will use the C Compiler to create an executable version of your program, then you will run that executable. By default, the C compiler "cc" or "gcc" creates an executable named "a.out" on Mac and Linux.

cd \path\to\my\program\
cc prac02.c
./a.out < prac02.txt