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.
... but I'd settle just for something that would let me see the result of my computations without closing :P
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
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
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.
Try Netbeans, with gcc from cygwin. Works great for me.
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
`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.
download this www.bloodshed.net/devcpp.html <-- its the best compiler with best interface. :)
dev c++ is outdated
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.
You can try using linux and then you don't have to worry about editor because gedit would be fine.