SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > General > General Topics
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-24-10, 05:18 PM   #1
XabbaRus
Navy Seal
 
Join Date: Sep 2001
Posts: 5,330
Downloads: 5
Uploads: 0


Default C++ development environment and compiler which one?

OK, for various reasons I am giving C++ another crack.
I have had programming experience before but I want to get an up to date C++ environment and compiler.

Seems there are quite a few and choosing ain't easy.

Do I go with Visual Studio Express one?

Or go for Borelands version and many others.

Given I am starting out again please help me out but give me pros and cons for each but keep it simple.

cheers
__________________
XabbaRus is offline   Reply With Quote
Old 10-24-10, 06:30 PM   #2
Garion
Commander
 
Join Date: Feb 2003
Location: Scotland
Posts: 452
Downloads: 34
Uploads: 0
Default

Are yoo going to be progamming exclusivley for windows? If so I would probably go with M$ Studio C++ and/or C#. API's Galore.

Allthough I used to Borland products back in the day for cross platform work, but that was a loong time ago.

I would say use the route of least resistance

Cheers

Garion aka Jevhaddah
Garion is offline   Reply With Quote
Old 10-24-10, 08:52 PM   #3
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
Default

Never used Borland, but MSVC++ works great for me. Never had any major problems with it (except maybe some linking errors that occasionally happen, but completely rebuilding/recompiling fixes those).
__________________

DarkFish is offline   Reply With Quote
Old 10-24-10, 09:59 PM   #4
PeriscopeDepth
Sea Lord
 
Join Date: Jul 2002
Location: Pacific NW
Posts: 1,894
Downloads: 6
Uploads: 0
Default

What are you trying to accomplish? On what platforms do you want your software to run?

PD
PeriscopeDepth is offline   Reply With Quote
Old 10-25-10, 04:38 AM   #5
XabbaRus
Navy Seal
 
Join Date: Sep 2001
Posts: 5,330
Downloads: 5
Uploads: 0


Default

Purely Windows environment...

I'm learning C++ to help me out in my career since I am studying Electrical Engineering and when I start the degree course I will be doing electronics too..
__________________
XabbaRus is offline   Reply With Quote
Old 10-25-10, 10:23 AM   #6
PeriscopeDepth
Sea Lord
 
Join Date: Jul 2002
Location: Pacific NW
Posts: 1,894
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by XabbaRus View Post
Purely Windows environment...

I'm learning C++ to help me out in my career since I am studying Electrical Engineering and when I start the degree course I will be doing electronics too..
Well, there's certainly nothing wrong with using Visual Studio for your purposes. It's pretty good as far as IDEs go, and the compiler is good as well.

That being said...
For C/C++ stuff without a huge amount of classes, an IDE can often be used as a crutch by a student. They abstract some of the compiler/linker stuff away into the build button and you really should not need autocompletion at first, you should learn compiling from the terminal and using the STLs. IDEs have their place. I do some work for a company whose project consists of thousands of lines of code, it would be confusing for me without an IDE. At the majority of the student level, I question the benefit of an IDE.

And depending how much CS your school makes you take/how much you think you will actually use it in the real world it may be beneficial to NOT use an IDE, or the MSFT toolset at all. I'm about halfway through my CS degree and I know the local university here makes you ssh into a *nix server and do your development in their environment which consists of: the command line compiler, vim/emacs, and your assortment of *nix bash commands. More businesses than you think work this way as well, and it's becoming more common with a lot of the newer interpreted languages that make an IDE seem silly (Ruby, Python). It is a really good idea to become comfortable working with what the Unix console offers.

I will leave my personal feelings about MSFT's development stack out of this.

Sorry if that was long winded

PD
PeriscopeDepth is offline   Reply With Quote
Old 10-25-10, 11:28 AM   #7
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by XabbaRus View Post
Purely Windows environment...

I'm learning C++ to help me out in my career since I am studying Electrical Engineering and when I start the degree course I will be doing electronics too..
You should check with your uni. They might have a preference for one compiler in particular.


BTW in what year are you having it? It's a 1st year course here.

Quote:
Originally Posted by PeriscopeDepth View Post
For C/C++ stuff without a huge amount of classes, an IDE can often be used as a crutch by a student. They abstract some of the compiler/linker stuff away into the build button and you really should not need autocompletion at first, you should learn compiling from the terminal and using the STLs. IDEs have their place. I do some work for a company whose project consists of thousands of lines of code, it would be confusing for me without an IDE. At the majority of the student level, I question the benefit of an IDE.

And depending how much CS your school makes you take/how much you think you will actually use it in the real world it may be beneficial to NOT use an IDE, or the MSFT toolset at all. I'm about halfway through my CS degree and I know the local university here makes you ssh into a *nix server and do your development in their environment which consists of: the command line compiler, vim/emacs, and your assortment of *nix bash commands. More businesses than you think work this way as well, and it's becoming more common with a lot of the newer interpreted languages that make an IDE seem silly (Ruby, Python). It is a really good idea to become comfortable working with what the Unix console offers.
All fine and well, but if you're just starting with C/C++ it's probably best to use an IDE
The first few tasks you'll get will fit into one single file and probably even in just the main() function. But later on when you've got multiple files and libraries, having a linker really helps you.
__________________

DarkFish is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.