online compiler

May 9, 2014 at 6:44pm
Im a High school student sitting in class doing nothing. I want to write some c++ code but dont have a laptop. Our school computers cant download things and I was wondering if there are any online compilers that work well. I tried two and they cant do cin which is one of my favorite things. Anyone know of a good one?
May 9, 2014 at 7:00pm
I use this one: http://ideone.com/
May 9, 2014 at 7:05pm
Aside from ideone those are pretty good:
http://coliru.stacked-crooked.com/
http://compileonline.com/
May 9, 2014 at 7:22pm
With ideone you enter your code. Then click the stdin button under the window to bring up an input window. This is a quick sample I did to show it can handle cin (just not like you would on your computer):

http://prntscr.com/3hp4jc Screenshot of it before running it
http://ideone.com/8rRZkQ What you get after running it

As you can see, you can do input.
Last edited on May 9, 2014 at 7:25pm
May 9, 2014 at 8:32pm
@BHX Specter You can take input on coliru also.
http://coliru.stacked-crooked.com/a/b13a5f50ce14a559
May 9, 2014 at 8:34pm
And on Compileonline:
http://puu.sh/8FKIW.png
May 9, 2014 at 8:52pm
@giblit
I know, but since I didn't mention them I was simply showing owenkmc that the one I linked did what he wanted with allowing input.
May 9, 2014 at 10:37pm
http://ideone.com/ is pretty awesome IMO
Last edited on May 9, 2014 at 10:37pm
May 10, 2014 at 12:14am
There is also http://rextester.com/runcode which has option to compile with VC++.
May 12, 2014 at 6:25pm
Thank you to everyone for this. This makes my boring classes go by much faster. :)
May 12, 2014 at 6:48pm
I didnt have time to try and I highly doubt that there is one but do any of these compilers allow input from text files?
May 12, 2014 at 6:56pm
compileonline can read from (previously pasted) text files.
I think Coliru can do this too (same method as using multiple cpp, described in faq)
May 13, 2014 at 5:25pm
Ok cool thank you
May 13, 2014 at 5:40pm
https://koding.com best online compiler there is plain and simple ;p. Pretty sure they still have free accounts available.

What makes this stand out is that it gives you your very own VM to play with, so you can save files for later, install libraries if you need them, etc. etc. It also support multiple languages (Including C++) and has amazing support web languages like Javascript, Ruby, Python, HTML, etc.

Worth checking out if you are looking for a online compiler that you will be using frequently.
Topic archived. No new replies allowed.