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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 20th, 2003, 03:55 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
Question Which IDE is the easiest for dev. Win. programs?

Short question:
Which IDE is the most feature-packed and easiest to use in your opinion?

1-Borland C++ Builder
2-Microsoft Visual C++ .NET
3-Metrowerks CodeWarrior

Question w/explanation:
After a lot of research and thinking about the recommendations I've received here, I've reluctently decided to use Win32 and C++ and my programming language and API for making my first Windows program. I say "reluctently" because out of the four API's I researched (Win32, Java, Python, and C#), Win32 looks like it's the toughest to learn, but also looks to be the most scalable.

Anyway, now I'm trying to decide on which IDE to get. I want a program I can use for just about any Windows project that interests me, so usability is more important than cost (they are all about the same price anyway).

I've looked at CodeWarrior, Visual C++, and Borland C++ Builder, and they all appear to be good programs. I like CodeWarrior's ability to compile both Windows AND Macintosh programs, but if Borland or Visual C++ are better IDEs, I can save my Mac aspirations for another day.

I look forward to reading your recommendations!
__________________
Matt

Last edited by marron79 : February 20th, 2003 at 03:57 PM.

Reply With Quote
  #2  
Old February 20th, 2003, 04:00 PM
jonsagara's Avatar
jonsagara jonsagara is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: USA
Posts: 286 jonsagara User rank is Private First Class (20 - 50 Reputation Level)jonsagara User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 7 m 23 sec
Reputation Power: 7
I have never used the other two, but I have never had any problems developing with Visual C++. The only gripe I have about usability concerns the ability to select threads while debugging - in VC6 it was a pain in the @$$. I don't know if they've fixed it in VC7.

IMO, Visual Studio is the standard for developing Windows applications. The MSDN library is an unbeatable reference that is integrated right into the IDE, so help is just an F1 keypress away.

You'll find some great opinions (both good and bad) of Visual Studio at http://www.codeproject.com. That site revolves around Windows development with Visual Studio .NET. Ask this question there and you will get many responses.
__________________
Jon Sagara

"Me fail English? That's unpossible!"

Reply With Quote
  #3  
Old February 20th, 2003, 04:01 PM
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
"worse or better IDE" is a matter of personal preference. you should check out all of them.

from my experience: if you want to do all kinds of different projects for windows, use VC++ (or "Visual Studio").
Not that the IDE is better or worse than any other, but there is many libraries out on the ´net that will only work with VC++. (eg. borland´s implementation of __fastcall differs from VC´s and AFAIK gcc doesn´t implement __fastcall yet at all.)
I´ve played with ports of libraries to other C environments and also Delphi, but to get everything out of your windows, IMHO VC++ is the only one
But be prepared that only the newest version will work. And today this is already yesterday´s news...
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #4  
Old February 20th, 2003, 04:12 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,430 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 41 m 55 sec
Reputation Power: 784
I personally prefer the Borland C++ Builder IDE. Why?? Because I also program in Delphi and the IDEs are the same. Also, when programming in Windows, it's not just the IDE, but also the class library and the included components that make me prefer Borland C++ Builder to Visual C++. Don't get me wrong here, I have programmed quite a few things in Visual C++, but with one exception, they were things that needed to be small in size and usually had a simpler gui. For bells and whistles, C++ Builder definitely comes in with a lot more of them by default. However, the Borland VCL library makes your programs larger vs. Microsoft's MFC library or even bare Windows API programming.

Then again, it's largely a question of personal preference.

Reply With Quote
  #5  
Old February 20th, 2003, 04:16 PM
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
Scorpions4Ever, what is your solution to the __fastcall problem? (or did you never have to deal with it, lucky one?)

i didn´t get it solved yet.... so i can´t link against DLLs implemented using __fastcall when i´m using BC++ (nor using Delphi, but this is another issue anyway...)

Reply With Quote
  #6  
Old February 20th, 2003, 04:38 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,430 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 41 m 55 sec
Reputation Power: 784
Thankfully, all the DLLs I've had to work with used stdcall calling conventions. The trouble with fastcall calling convention is that Microsoft and Borland (and Watcom for that matter) use different registers (Microsoft uses only ECX, EDX and then the stack, Watcom and Borland use more registers and then the stack). Seems that someone else has the same problem that you did, and they worked around it:

http://www.geocities.com/disabledda...ews/XtraInt.htm

Reply With Quote
  #7  
Old February 20th, 2003, 04:39 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,430 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 41 m 55 sec
Reputation Power: 784
Thankfully, all the DLLs I've had to work with used stdcall calling conventions. The trouble with fastcall calling convention is that Microsoft and Borland (and Watcom for that matter) use different registers (Microsoft uses only ECX, EDX and then the stack, Watcom and Borland use more registers and then the stack). Seems that someone else has the same problem that you did, and they worked around it:

http://www.geocities.com/disabledda...ews/XtraInt.htm

Reply With Quote
  #8  
Old February 20th, 2003, 04:59 PM
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
Genesis3D - this was where i first met this problem too

i´ll read into it on monday. i´m busy till then....
tnx.

Reply With Quote
  #9  
Old February 20th, 2003, 05:11 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
Thanks for your prompt replies. I've never heard anyone talk about CodeWarrior, so I'll stay away from that. I found out that both Borland and Visual Studio are on the computers here at school, and like Visual C++...mainly because of the nice Win32 and MFC templates and drag-and-drop features.

One last question, if I may. I've searched for and read a few posts here on Windows programming, and now I'm not sure whether to use MFC or plain old Win32. Some people say start with Win32 and C, while others say doing that is a waste of time. I have a lot of experience with PHP, and really liked it's object-oriented features. Making my somewhat large website in OO PHP made my life a whole lot easier! I also have a fairly solid understanding of the basics of C++ (took a class last fall, and most of it came naturally to me w/my PHP knowledge). I know it's not a lot to go by, but based on my PHP skills, which would probably be the easiest for me to learn? Win32 (which only uses C, I think) or MFC (which only uses C++, I think)?

If knowing what kind of program I want to develop helps your decision, I want to make a weather forecasting program that runs much like a PowerPoint presentation. When the program loads, it downloads forecast data from a website. Once it has downloaded the data, it then goes through about 10 screens (i.e. current conditions, local forecast, extended forecast, etc.) while playing an mp3 file in the background. Each screen contains both text data and animated/non-animated images such as a picture of a sun or cloud. One of the screens scrolls through about 20 lines of city-by-city forecast data, and every screen also has a bar at the bottom which displays it's own text presentation of the current conditions, with the current date and time as well.

I hate to ask a lot of questions, but I don't want to spend a lot of money on books and a program unless I know I've chosen the right language and API. Thanks again for your comments!

Last edited by marron79 : February 20th, 2003 at 05:19 PM.

Reply With Quote
  #10  
Old February 20th, 2003, 05:30 PM
jonsagara's Avatar
jonsagara jonsagara is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: USA
Posts: 286 jonsagara User rank is Private First Class (20 - 50 Reputation Level)jonsagara User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 7 m 23 sec
Reputation Power: 7
Ideally, learn about the Win32 API first and then move on to MFC. If time is an issue, then learn MFC and go from there. You can pick up little tidbits about the API as you go.

Reply With Quote
  #11  
Old February 20th, 2003, 05:43 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
Quote:
Originally posted by jonsagara
Ideally, learn about the Win32 API first and then move on to MFC. If time is an issue, then learn MFC and go from there. You can pick up little tidbits about the API as you go.


Well, this project isn't for a company or school, so I could spend as much time as I want on it, but I'd like to get it out as soon as possible in case my programming/weather friends figure out how to make a similar program before I do.

For those who have read Jeff's MFC book, does he assume you already know Win32 or can a person w/no Win32 experience understand it? Thanks again!

Reply With Quote
  #12  
Old February 20th, 2003, 05:46 PM
jonsagara's Avatar
jonsagara jonsagara is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: USA
Posts: 286 jonsagara User rank is Private First Class (20 - 50 Reputation Level)jonsagara User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 7 m 23 sec
Reputation Power: 7
Yep, you can pick up MFC without first knowing Win32. Knowing Win32 is useful in that it helps you realize what is going on with MFC "under the hood."

Reply With Quote
  #13  
Old February 20th, 2003, 07:41 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
Quote:
Originally posted by jonsagara
Yep, you can pick up MFC without first knowing Win32. Knowing Win32 is useful in that it helps you realize what is going on with MFC "under the hood."


I've read some book reviews on Amazon.com about MFC, and a few complain that certain books don't explain what's going on "under the hood." What do they mean? Are they wanting to know how things work and why? If so, then I'll pass on Win32. As long as I can figure out how to make a program do what I want in MFC, I don't care how or why it works.

Reply With Quote
  #14  
Old February 21st, 2003, 12:52 AM
7stud 7stud is offline
</