Tag Info

New answers tagged


This is really nothing to do with gcc (or g++): what you need is file redirection ./y.out < file.in or (to redirect the program's output as well as its input) ./y.out < file.in > file.out


check the repo page https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test It shows version 5 as latest version so you'll not find 5.1 and thus result this error you should install using (it still version 5 in your given Repository) sudo apt-get install g++-5 Else if this doesn't work you can download the source code and compile it

Top 50 recent answers are included