You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
433 B
Plaintext
14 lines
433 B
Plaintext
// To install: (Mac OSX) type g++ in terminal and click enter to download the XCode Developer Tools
|
|
(Debian/Ubuntu) apt-get install g++
|
|
(Fedora/CentOS) dnf install gcc-c++
|
|
|
|
// To Compile: g++ my_script.cpp
|
|
// To Execute: ./a.out
|
|
|
|
// To Compile w/ specific executable name: g++ my_script.cpp -o my.executable
|
|
// To Execute: ./my.executable
|
|
int main() {
|
|
std::cout << "Hello" << endl;
|
|
return 0;
|
|
}
|