Support Forums
c++ free compiler? - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Programming with C++ (https://www.supportforums.net/forumdisplay.php?fid=20)
+---- Thread: c++ free compiler? (/showthread.php?tid=11644)

Pages: 1 2


c++ free compiler? - Marda - 08-29-2010

anyone no a free c++ compiler for win xp 32bit


RE: c++ free compiler? - Iarkey - 08-29-2010

i use visual C++ 6, It's not free but you can download it and just fill the cdkey box with 1's and it will work.


RE: c++ free compiler? - Eminent - 08-30-2010

Dev c++


RE: c++ free compiler? - Marda - 08-30-2010

tried dev c++ but dosen't compile maybe its my code

Code:
#include <iostream>
using namespace std;

int main ()
{
    cout << "Hello World!";
    cout << "i'm a C++ program";
    return 0;
}

but nothing happens somethings flashes on my screen yer BTW i'm very new to all this Tongue

i also go run and compile on Dev c++


RE: c++ free compiler? - Eminent - 08-30-2010

If you click run, and it says didn't compile, then there is an error, but if not, then you were successful. If it says not compiled, then look at the box on the bottom, and it will show you any errors, and one which line the error was made on.


RE: c++ free compiler? - Buffy - 09-01-2010

Don't use Dev-c++, it's crap.

Instead, use MingW: http://www.mingw.org/

If you need an environment on which to compile with, I suggest Code::Blocks: http://www.codeblocks.org/

There is an option to install MingW with the Code::Blocks installation; if you do this, I would suggest you to install every compiler available.


RE: c++ free compiler? - wchar_t - 09-05-2010

visual c++ 2010 by microsoft is a favourite of mine.

due to the 32/64 full support.


RE: c++ free compiler? - Secret - 09-21-2010

Visual C++ Express Editions are free.


RE: c++ free compiler? - mmki - 09-24-2010

(08-30-2010, 06:13 PM)Marda Wrote: tried dev c++ but dosen't compile maybe its my code

Code:
#include <iostream>
using namespace std;

int main ()
{
    cout << "Hello World!";
    cout << "i'm a C++ program";
    return 0;
}

but nothing happens somethings flashes on my screen yer BTW i'm very new to all this Tongue

i also go run and compile on Dev c++

Dev C++ works fine.
Its your code
Looking at your code you have no stop in it.. so it runs though then ends. Any compiler would make it do that.
Put cin.get() or something like that before return 0;
That will end it Smile

Dev c++


RE: c++ free compiler? - PurpleHaze - 09-26-2010

VisualC++ of DevC++ are both great options.