I cut&pasted the below code from a previous question into a file called \"avishay.cpp\" and then ran
gcc avishay.cpp
only to get the f
Update your apt-get:
$ sudo apt-get update $ sudo apt-get install g++
Run your program.cpp:
$ g++ program.cpp $ ./a.out