Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
c++ free compiler?
#1
anyone no a free c++ compiler for win xp 32bit
Marda Superman
Reply
#2
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.
Reply
#3
Dev c++
Add me on MSN: Eminent14@hotmail.com. I would love to get to know you.
Reply
#4
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++
Marda Superman
Reply
#5
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.
Add me on MSN: Eminent14@hotmail.com. I would love to get to know you.
Reply
#6
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.
Reply
#7
visual c++ 2010 by microsoft is a favourite of mine.

due to the 32/64 full support.
Reply
#8
Visual C++ Express Editions are free.
Reply
#9
(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++
[Image: blanktemplate.png]
Reply
#10
VisualC++ of DevC++ are both great options.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Building a Compiler ? prince76 10 5,784 02-21-2012, 09:17 AM
Last Post: AceInfinity
  Code Block compiler: "No compiler found" Fix Inventor 7 3,904 09-04-2011, 06:12 AM
Last Post: Orgy
  Need a new compiler Richard Runz 2 1,035 08-07-2011, 11:17 AM
Last Post: [Dr.House]
  C++ Compiler Impuhlsive 2 1,416 05-09-2011, 06:24 AM
Last Post: cfillion

Forum Jump:


Users browsing this thread: 1 Guest(s)