I use Ideone.com to compile and run my C++ programs. How can I run them in my laptop offline? Is it necessary for a programmer to install Linux operating systems in order to be an efficient programmer?
-
I have started checking programming out recently. I find it interesting. I use http://ideone.com to compile and run my C++ programs. How can I run them in my laptop offline? Is it necessary for a programmer to install Linux operating systems in order to be efficient programmer? Can I run C++ programs in command line in windows like in terminal of ubuntu?
-
Answer:
UNIX-friendly environment is nice to have. Ubuntu Linux is among the easiest ways to get there, but it certainly is not the only one. Short of having a dedicated machine, options are: Emulated environment. https://www.cygwin.com/ or http://www.mingw.org/wiki/msys are awesome for Windows. A virtual machine with Linux. I used https://www.virtualbox.org/ on Windows. http://www.vagrantup.com/ is great for Mac. http://www.parallels.com/ is another decent option. OSX is UNIX-like as well. I know plenty of people who use their Mac-s effectively as BSD machines and don't look back. Check out http://brew.sh/. Externally hosted Linux box. http://aws.amazon.com/ can spawn a remote Linux box within minutes, and they have a free tier. I myself have used options 1) and 2) above while back in Microsoft. Works fine. Also, developing in Microsoft Visual Studio on Widows or in xCode on Mac is also a great way to sustain one's professional life. One can be as great as a programmer within Windows or Mac worlds without being much exposed to the world of Linux/UNIX. If you prefer to stick with http://Ideone.com though, it would be unproductive to have a locally accessible compatible setup.
Dima Korolev at Quora Visit the source
Other answers
On Windows systems, you can use Visual Studio (Express edition is probably free) - it comes with a (nearly) complete set of Microsoft development stack. You can use MinGW (easier to install) or Cygwin (better choice) environment to install GCC and other development tools on your Windows machine. MinGW and Cygwin gives you an array of Linux/UNIX feats on Windows machines. Most IDEs (other than Visual Studio) on Windows would need some form of MinGW or Cygwin installed on your system. You can chose to use any UNIX system. You'll still need to install compilers. There are a lot of people, who would try to convince that, if you do not use Linux as your primary OS, you are a bad programmer. But, to be a good programmer you need to feel comfortable on any OS, and you should be able to use most major OS.
Khan M N M Sadh
Honestly, don't take this a wrong way or too harsh, I'm just trying to help so you don't end up dropping C++ or programming in a month or 2 :) Because based on your questions you are a little confused as far as systems and compilers go. STOP LEARNING C++ for now Learn about systems basics, I.E. what makes a program run and how it interacts with the host system. C++ or any language of it's caliber heavily depends on at least intermediate knowledge of inner workings of a computer, operating system, and compilers. Look at below courses before starting to learn C++ more in depth, otherwise you will end up a bald angry man LOL Below are some resources: http://www.sal.ksu.edu/faculty/tim/ossg/index.html- this actually seems like a really good course, which I'll read up on myself :) http://computer.howstuffworks.com/c1.htm
Igor Putilov
If you're running windows then there are still free compilers available. If you're used to gcc then I recommend installing Cygwin and enabling all of the development utilities that you might need.
Aaron Shbeeb
Yes you can run them in command line in windows, using some freewares. However, I would highly recommend you to shift from Windows to unix based OS ASAP. It won't improve your "programming" skills , but will surely add on to your development skills. If you still don't want to make the switch ,download MS visual studio or Code::blocks for windows. Pretty neat IDEs.
Divjot Singh
Related Q & A:
- How can I run all my selenium tests sequentially in C#?Best solution by Stack Overflow
- How can I run CMD command?Best solution by Super User
- How can I get MSN on my laptop?Best solution by Yahoo! Answers
- How can I print wirelessly from a laptop to a printer without a router?Best solution by answers.yahoo.com
- How can I run faster?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.