anonymous
  • anonymous
Is there any kind of convenient shell for C++ like IDLE is for Python? I'm able to write and compile code using Visual Studio 2010 Express but it's not very convenient - there's about a million tools I'm not using. Also, it runs in a shell and every time the program outputs a result, the shell closes in the blink of an eye, so I can't see what it did. It would be great if there were something like IDLE that would just let me type in whatever function present in my code, run it, give me outputs etc, in a clear straightforward manner.
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
... but I'd settle just for something that would let me see the result of my computations without closing :P
anonymous
  • anonymous
http://stackoverflow.com/questions/1189097/c-interpreter-console-snippet-compiler looks like sites like http://codepad.org and http://ideone.com are the way to go
anonymous
  • anonymous
Good start, but the online limitation means you can't refer to external libraries or packages, at least not ones you've built, which is limiting (on ideone, not even cout works :P). Thanks all the same! An IDLE clone would be ideal.... maybe no such thing exists. Maybe after a few months I'll know enough to write one myself :D

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
I thought std::cout always worked on ideone :( but if you want to run the programs on your own machine without the terminal closing , you can try adding a line such as `system("pause")`, (you must include to get the system() function) , or you can try running them from a command prompt.
anonymous
  • anonymous
Try Netbeans, with gcc from cygwin. Works great for me.
anonymous
  • anonymous
Thanks. I'll give those a shot. Up until now I was just putting in a prompt for the user to enter a dummy input :P
jagatuba
  • jagatuba
`system("pause")` is pretty much the most common way to pause the program so you can see the output, but I wouldn't use it in the final program. It's too resource heavy.
anonymous
  • anonymous
download this www.bloodshed.net/devcpp.html <-- its the best compiler with best interface. :)
anonymous
  • anonymous
dev c++ is outdated
anonymous
  • anonymous
You have to consider that Python is an interpreted language where C/C++ is a compiled language. It may be worth your while and help with understanding the nature of programming languages to learn more about the difference between the two.
anonymous
  • anonymous
You can try using linux and then you don't have to worry about editor because gedit would be fine.

Looking for something else?

Not the answer you are looking for? Search for more explanations.