Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

A good C++ compiler for windows 8

  1. Oct 29, 2013 #1
    I've tried downloaded three different compilers for c++ and none of them work, I have visual studio 2010 but c++ won't work on it. If someone could provide a link to a c++ plugin for it I would be soooo grateful. But anything is appreciated as long as it's free.
     
  2. jcsd
  3. Oct 29, 2013 #2

    rcgldr

    User Avatar
    Homework Helper

    I've used C++ with VS2010 without issue. Can you describe what the problem is?
     
  4. Oct 29, 2013 #3
    It wont compile it says c++ is too old. I have an illegal version, I don't pay for software, can't afford it.
     
  5. Oct 29, 2013 #4

    Mark44

    Staff: Mentor

  6. Oct 31, 2013 #5
    still not working any non Microsoft suggestions?
     
  7. Oct 31, 2013 #6

    AlephZero

    User Avatar
    Science Advisor
    Homework Helper

    MS Visual studio express is free, and supports C++ (or to be pedantic, it supports MS's version of the language). http://www.microsoft.com/visualstudio/eng/downloads#d-2013-express

    If you just say "I downloaded 3 compilers and none of them work", without even telling us which three compilers or what error messages you got, do you really expect to get any meaningful help here?

    Some people here might be able to do computer tech support by ESP, but we don''t do it for free :biggrin:
     
  8. Oct 31, 2013 #7
    I downloaded and install MinGW a few weeks ago, works like a charm.
     
  9. Nov 1, 2013 #8

    rcgldr

    User Avatar
    Homework Helper

    You didn't mention what operating system you're running. Visual Studio 2012 and later requires Windows 7 or later. I think Visual Studio 2010 can run on Windows XP.
     
  10. Nov 1, 2013 #9

    jtbell

    User Avatar

    Staff: Mentor

    The thread title says Windows 8.
     
  11. Nov 1, 2013 #10

    rcgldr

    User Avatar
    Homework Helper

    Sorry for the brain fade. I was posting a response to a similar thread at another forum, where the guy was having problems during install, but did not specify what OS he had. That issue was trying to install VS2012 express with Windows XP, where an error message didn't show up until part way through the install (is this fixed yet?). He was concerned about how to remove any stuff generated during the failed install.
     
  12. Nov 1, 2013 #11
    dev, vs2010 and I don't rerember the third.
     
  13. Nov 1, 2013 #12

    phyzguy

    User Avatar
    Science Advisor

    Install Ubuntu on a separate disk partition in dual-boot mode. Ubuntu comes with the g++ compiler installed. Everything is free.
     
  14. Nov 1, 2013 #13
    my laptop only has 4gb left and I can't afford an external right now.
     
  15. Nov 1, 2013 #14
    The question is, what are you going to use the compiler for, and what does "good" really mean.
     
  16. Nov 1, 2013 #15

    Borek

    User Avatar

    Staff: Mentor

    We still don't know what it means "doesn't work".
     
  17. Nov 5, 2013 #16
    Won't work full stop. as soon as I press the compile button the thing crashes with a an out of date message.
     
  18. Nov 5, 2013 #17

    Vanadium 50

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2017 Award

    You are being very vague about what you are doing, and what is going wrong. You're not going to get help that way.

    Are you still trying to use your stolen compiler? If so, stop it and try the legal alternatives that have been suggested to you.
     
  19. Nov 5, 2013 #18
  20. Nov 5, 2013 #19
    How am I being vauge? It doesn't matter what I try to compile the ide crashes, not my program. they all look very old despite me searching specifically searching for windows 8 ones.
     
  21. Nov 5, 2013 #20

    Borek

    User Avatar

    Staff: Mentor

  22. Nov 5, 2013 #21
    that is literally perfect but it's massive. is there nothing more compact? I know im being finicky sorry.
     
  23. Nov 5, 2013 #22

    Mark44

    Staff: Mentor

    You've told us that you have downloaded three compilers and none of them "works", but gave no details about what this means until we asked. What we know now is that your pirated copy of Visual Studio 2010 is outdated or installed incorrectly or something. You didn't provide any details about why the other two compilers don't work. When you describe a software product as not working, without any details of what that means, you can't expect someone else to be able to diagnose the problem and offer a solution. That's what we mean by being vague.

    Several possible compilers were suggested, but you said your laptop's disk drive had only 4 GB left, and you didn't have any money for another drive. Since the three compilers you currently have aren't working, I suggest uninstalling them, which should free up some space on your disk drive. Also, uninstall any other applications that you aren't using, as well as pictures and games and whatever stuff you have stored that you don't really need and is cluttering up your drive. After you clean things out, it would be a good idea to defrag your disk so that it has lots of contiguous space.
     
  24. Nov 5, 2013 #23
    MS VS 13 Express for Windows Desktop requires less than 4 Gb. MS VS 13 Express for Windows (i.e., the start screen apps) requires just half of that. I would not call that massive these days.

    You said your PC has only 4 Gb left. Since you are looking for something that works for Windows 8, your system clearly supports it, so it is at least reasonably modern and so it must have an HDD with a capacity upward of 100 Gb. If all that remains of that is 4 Gb, then I say: kill a few gigs of junk and be done with that. Start by checking your download and temp directories.
     
  25. Nov 5, 2013 #24
    The majority is lectures I still have to watch, ill watch those then delete them and download vs 2012, until then im using an online compiler. Thanks for all your help guys.
     
  26. Nov 6, 2013 #25

    AlephZero

    User Avatar
    Science Advisor
    Homework Helper

    Start by emptying the recycle bin. Then, what voko said.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook