Adblock breaks this site

Should I compile a C++ on a third party program or cmd?

Discussion in 'Help & Requests' started by convuLt, Mar 28, 2015.

  1. convuLt

    convuLt Active Member
    Banned

    Joined:
    Jun 23, 2014
    Posts:
    134
    Referrals:
    0
    Sythe Gold:
    0
    Should I compile a C++ on a third party program or cmd?

    How many of you uses a third party program here like Dev C++? I'm confused, do they work the same or is it better on cmd? I had downloaded MinGW (it's for cmd) just in case but I was taught to use Dev C++ on school, does it matter or no? :(
     
  2. 70i

    70i Forum Addict
    Banned

    Joined:
    Jan 11, 2014
    Posts:
    462
    Referrals:
    0
    Sythe Gold:
    174
    Should I compile a C++ on a third party program or cmd?

    They're not all that different. Either way you're going to have to write commands to compile your code. I'd recommend that you compile and run some code with cmd so you can get the hang of it, but using Dev C++ will probably be easier to use. For instance Dev C++ can tell you if your code has an error before you compile it.

    Once your program gets a little more complicated you'll need to create a makefile. A makefile is a file that has the (cmd) commands for your code. If your using cmd or Dev C++ you're still going to need a makefile.

    It might be confusing at first but, but spare yourself future pain and create makefiles for your code. Here's a tutorial, but there's a bunch more if you search for them.
    http://mrbook.org/blog/tutorials/make/
     
  3. PijaVenosa

    PijaVenosa Forum Addict
    $200 USD Donor New

    Joined:
    Oct 16, 2012
    Posts:
    504
    Referrals:
    0
    Sythe Gold:
    824
    Discord Unique ID:
    218731748610015232
    Discord Username:
    Totomi#0070
    Poképedia Pokémon Trainer Tier 1 Prizebox (3)
    Should I compile a C++ on a third party program or cmd?

    Aren't makefiles unnecessary with programs like Visual studio?
     
  4. convuLt

    convuLt Active Member
    Banned

    Joined:
    Jun 23, 2014
    Posts:
    134
    Referrals:
    0
    Sythe Gold:
    0
    Should I compile a C++ on a third party program or cmd?

    Not necessary since you can just do them inside the program.
     
< Anyone purchase from amazon.co.uk? | How can I focus the URL bar in firefox without using mouse? >


 
 
Adblock breaks this site