Before you can start programming, you need to set up your development environment. In other words, you need to download the necessary programs that will help you on your journey to becoming a programmer.
A development environment consists of all the tools and software you need to write, test, and run your programs. Think of it as your digital workspace.
You'll need a place to write your code. Popular options include:
A compiler translates your human-readable code into machine language that the computer can execute.
For C++:
You'll use this to run your compiled programs and execute commands.
g++ --versiong++ --version in Terminalsudo apt-get updateOnce everything is installed, create a simple test file to ensure your environment works:
Save this as test.cpp, compile it with g++ test.cpp -o test, and run it!
During your classes with the instructor, you'll review how to set up the development environment and prepare everything in detail.
#include <iostream>
using namespace std;
int main() {
cout << "Environment setup successful!" << endl;
return 0;
}