It would be helpful to make sure you have a GitHub account already created.
You can use either a personal or school email address with your GitHub account.
CLion is a Integrated Development Environment (IDE) created by the company JetBrains.
This is a short guide how to get the free education license for CLion and install it on your machine.
-
Start by applying for a license by filling out their application.
-
After you apply, you will get an email with a confirmation link you will need to click.
-
Once you have been approved, you can log in using the JB account you created.
-
When you first open CLion, you should have this welcome window. From here you can add your GitHub using "Get from VCS".
-
From here, you can add your GitHub credentials:
To test your install, we will clone a test project repository. You will first "clone" the test material from GitHub to your machine.
-
Navigate to the test repository.
-
After that click on "Use this template" → "Create a new repository"
- Give your repository a name.
- Mark your repository public or private based on your preference. Private means other people will not be able to find or view your repository. Public will allow others to find and view your repository.
- Click "Create repository from template"
-
Click "Get from VCS"
Alternatively, you can also click "File" → "New" → "Project from Version Control"
-
From here you should be able to see all of your GitHub projects. Click Clone.
-
Click "Ok" after you see the following settings wizard prompt
Next you will need to configure your compiler.
There is a small issue with printing where an extra space is printed the first instance you call cout. This can be fixed using the following steps.