Skip to content

Installing and Running the Program

Olin William Calvin edited this page Apr 6, 2019 · 3 revisions

NOTE: In order to run pop-apportionment you MUST have a C++ compiler on your machine. (I'll try to add instructions on how to put a C++ compiler on your machine later but for now Google it)

First clone the repository:

$ git clone [email protected]:olinwc/pop-apportionment

You can also create your own fork and clone that in which case you'd replace olinwc with your github username.

Once you have the repository cloned all you have to do is compile main.cpp. If you are using g++ then it looks like:

$ g++ main.cpp

This should create an a.exe or a.out file. Now all you have to do is execute that file from the command line via:

$ ./a.exe

Then just follow the text prompts that pop up and congratulations you are running the program!

Clone this wiki locally