Although you can use whatever development environment you want for CS 235 labs, the repl.it service only requires you to have a computer with a web browser, so you can develop your code without installing compilers and other development options.
##Getting Started
First go repl.it and sign up for an account.
You will now need to read your email and look for a verification message. Verify your account and you should be able to log in and see the welcome screen.
Answer the questions to configure your account
Create a new repl and call it Test
Select the C++ option since that is what you will be using in class.
You should now see the development console with the file viewer on the left and your command prompt on the right
Notice that there is a hello.cpp file included with your default account.
- Create a new folder with the +folder in the upper left. Call it Lab1
- Create a new file in that folder with the +file in the upper left. Call it main.cpp
- Copy the hello world program and put it into the main.cpp window
#include <iostream>
int main() {
std::cout << "Hello World!\n";
}