Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

thinkpad20

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.

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. thinkpad20
    Best Response
    You've already chosen the best response.
    Medals 0

    ... but I'd settle just for something that would let me see the result of my computations without closing :P

    • 2 years ago
  2. agdgdgdgwngo
    Best Response
    You've already chosen the best response.
    Medals 0

    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

    • 2 years ago
  3. thinkpad20
    Best Response
    You've already chosen the best response.
    Medals 0

    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

    • 2 years ago
  4. agdgdgdgwngo
    Best Response
    You've already chosen the best response.
    Medals 0

    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 <cstdio> to get the system() function) , or you can try running them from a command prompt.

    • 2 years ago
  5. arcticf0x
    Best Response
    You've already chosen the best response.
    Medals 1

    Try Netbeans, with gcc from cygwin. Works great for me.

    • 2 years ago
  6. thinkpad20
    Best Response
    You've already chosen the best response.
    Medals 0

    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

    • 2 years ago
  7. jagatuba
    Best Response
    You've already chosen the best response.
    Medals 0

    `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.

    • 2 years ago
  8. netsec000
    Best Response
    You've already chosen the best response.
    Medals 3

    download this www.bloodshed.net/devcpp.html <-- its the best compiler with best interface. :)

    • 2 years ago
  9. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 0

    dev c++ is outdated

    • 2 years ago
  10. benjica
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

    • 2 years ago
  11. jaskaran
    Best Response
    You've already chosen the best response.
    Medals 0

    You can try using linux and then you don't have to worry about editor because gedit would be fine.

    • 2 years ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.