C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old January 30th, 2003, 05:40 PM
vanniella vanniella is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 4 vanniella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Do you know any free C++ IDE that works properly on Win XP?

Hello everyone,

I hope someone will be able to help me as I've been trying hard to solve my problem but nothing seems to be working...

I went through almost all the web site providing links to free C++ software (even those supposed to be Windows XP compliant) but I have weird error messages when I install on my laptop...
Then when I managed to have the software installed (the Dev-C++ 5 beta version) I have errors when compiling (something about not the libraries being archaics or something) and I am simply unable to compile a simple Hello world...



I'm not new to programming at all but it's is true that when it comes to manipulating software options I'm a bit reluctant...

Maybe you went through the same problem as me (if yes PLEASE HELP ME!) or maybe you know a nice C++ IDE which is XP compliant (then I'll be grateful forever!)

I hope to get a reply soon as posting a note in a forum is definitely my last resort (this is my first post ever...)

Thanks,

Annie.
PS: On the Dev-C++ FAQ, they suggest to run Program Compatibility wizard and then try again but it is not working either...

Last edited by vanniella : January 30th, 2003 at 05:51 PM.

Reply With Quote
  #2  
Old January 31st, 2003, 12:41 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
i am developing sometimes using dev-cpp. XP home at home, XP pro at work. it compiles all applications that are "real ANSI C" without problems. of course it does not compile MSVC++ code. MS does not want that... i am using a 4 version though.

setup "Windows GUI application" in the project manager and try this simple helloworld:

[edit]corrected and tested code:
#include <windows.h>

int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) {
return MessageBox(0, "test","Hello world",MB_OK); //(not sure about the full syntax)
}
[/edit]
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Last edited by M.Hirsch : January 31st, 2003 at 12:45 AM.

Reply With Quote
  #3  
Old January 31st, 2003, 04:09 AM
vanniella vanniella is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 4 vanniella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks

Thanks very much...I'll try that tonight and give a feedback (even if it looks quite complicated already...Thanks Microsoft! )

Annie.

Reply With Quote
  #4  
Old January 31st, 2003, 07:16 AM
ClayDowling ClayDowling is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Flint, MI
Posts: 328 ClayDowling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 19 m 25 sec
Reputation Power: 6
Dev-C++ on XP

Annie,

I'm running Dev-C++ on WinXP Pro quite happily. There are some tricks though, and they aren't necessarily obvious.

First, you can't use the GCC 3.2 toolchain, you'll need to use the older version (2.9x). 3.2 is annoying on UNIX (where I am using it) and completely broken under Windows. To get rid of it, you'll have to uninstall the application, then manually delete the folder that you installed it into. If you don't do both, you'll get exactly the ugly errors that you're receiving.

The second step is to download the new IDE with the older GCC toolchain. They you should be running without any problems.
__________________
Clay Dowling
Lazarus Notes
Articles and commentary on web development
http://www.lazarusid.com/notes/

Reply With Quote
  #5  
Old February 5th, 2003, 07:09 PM
larslyngby larslyngby is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Copenhagen, Denmark
Posts: 1 larslyngby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: Dev-C++ on XP

Quote:
Originally posted by ClayDowling
Annie,

I'm running Dev-C++ on WinXP Pro quite happily. There are some tricks though, and they aren't necessarily obvious.

First, you can't use the GCC 3.2 toolchain, you'll need to use the older version (2.9x). 3.2 is annoying on UNIX (where I am using it) and completely broken under Windows. To get rid of it, you'll have to uninstall the application, then manually delete the folder that you installed it into. If you don't do both, you'll get exactly the ugly errors that you're receiving.

The second step is to download the new IDE with the older GCC toolchain. They you should be running without any problems.


Well. This is actually wrong.

Disregard this please.

Essentially when choosing the dev-cpp flavour you have three options:
1) Stick with the old non-beta: Download version 4.
2) Use the newest beta with the old 2.95 gcc: Download 4.9.7.0/2.95.
3) Use the newest beta with the new 3.2 gcc: Download 4.9.7.0/3.2

The beta versions allows you to add 'devpacks' to your compiler.
A devpack generally expands your possibilities.
For example: If you want to program a graphical Windows game you'd most likely use one or more of the following: Allegro, Direct-X, SDL, OpenGL.

The beta versions are exactly that. Beta versions.
This means, that you'd better watch the dev-cpp forum for information on your version. And you'd better use vUpdate to download updates (and devpacks).

The two most often brought up errors right now
1) The C++ include path is incomplete.
You must manually patch this by including
C:\dev-cpp\include\c++\mingw32 to your C++ include directory list.
2) Compliancy to the C++ language specification. Specifically deprecation of iostream.h.
Basically code like this
#include <iostream.h>
...
cout << "This won't work";

Must be replace with code like this
#include <iostream>
...
std::cout << "This will work";

or this
#include <iostream>
using namespace std;
...
cout << "This will also work";


Hope it works out for you now.

/Lars.

Reply With Quote
  #6  
Old March 28th, 2003, 04:23 PM
vanniella vanniella is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 4 vanniella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It WAS the GCC version...

Clay,

Thank you so much for your message...The thing is, I tried it for the sake of trying something because I was so desperate and it WAS actually the version of the beta that I downloaded that was giving me errors...I downloaded the 3.2 and I needed the 2.95 (on the dev-cpp website). I now downloaded dev-cpp 5 toolchain version 2.95 and everything works perfectly now!

Sorry it was not right after reading your note but definitely now no one should have problem using Dev-C++ on Win XP anymore...

Lars, sorry to say that but Clay was not wrong at all and I hope that people encountering the same problems WON'T disregard his message.

No bad feeling please.

And I would like to send a warm thank you to the 3 of you for trying to help me.

May you help plenty other lost users.

Annie.

Reply With Quote
  #7  
Old April 22nd, 2003, 03:52 PM
tOeJaM tOeJaM is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: United States
Posts: 46 tOeJaM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 55 sec
Reputation Power: 6
free C++ IDE

Forums are gr8. Thanks for this tip... Just getting back into C/C++, it's been about 4 years. This tool will help me a gr8 deal. Thanks again.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Do you know any free C++ IDE that works properly on Win XP?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway