Programming c++ lesson 1: setting up CS50 IDE

All of my programming tutorials will be involving c++ programming laguage using CS50 IDE online.

The first step in your programming journey is going to be preparing your programming environment. I use CS50 IDE which is free to use and helpful for big projects and forgetful people who don’t constantly save their coding as it will automatically save it for you. There are however so many other programming tools that will work similarly to this so find the one that works for you.

Now that you have your CS50 IDE account, your going to want to make your first workspace or directory, which is basically just somewhere to store your codes. To do this your going to type: mkdir nameofdirectory. Once you’ve made a directory we can navigate into it using cd nameofdirectory and make our first code file using: touch nameoffile.cpp. For example for a directory named new with a c++ file named example_1:

If at any point you want to rename or delete a directory or file you can right click on it in the left hand menu. You can also reposition files in directories through this method by grabbing and dragging them to where you want them.

One thought on “Programming c++ lesson 1: setting up CS50 IDE

Leave a comment