Run C++ Code Online?
Solution 1
You may want to give rextester a try. Currently g++ 4.7.2 with boost libraries and ability to supply compiler args.
Edit Visual C++ is also supported now.
Solution 2
http://ideone.com/ Can compile several languages, and supports stdin
Solution 3
Edit: Microsoft's online compiler seems to no longer be active :(
Microsoft research have made an online version of Visual C++ here: http://webcompiler.cloudapp.net/.
It (currently?) only compiles the code and does not run it so you won't be able to check cin
though :(
Running code is now supported.
Solution 4
Yes, Ideone can do that. It's possible to specify stdin there.
Solution 5
There is Wandbox.org, which offers GCC and Clang to its latest versions (as of Nov 2018). It has stdin
.
I wouldn't say it's a VC++ platform though.
GILGAMESH
Updated on July 27, 2022Comments
-
GILGAMESH almost 2 years
Is there a website I can go to to run C++ code online? I have seen a few compilers, but is there one that can also receive input from
cin
? I want one that can basically host a C++ .exe online, and even more preferable is if it is like the VC++ platform.