What are the Best Software Options for Programming in C/C++ Language?

In summary: VC++ is only 1 year behind. It is a huge improvement. Plus, the 2005 version of VC++ now supports many features that GCC doesn't yet (although yes, it is still missing some, like export, but that is being removed from the standard anyway). It is very much on par with GCC. Here is a good site for comparing C++ compilers. Also, VC++ is the standard for windows programming, which is very important. And with the new VC++ 2005 Express, it is now free for everyone!In summary, the conversation discusses different options for software to program in C or C++
  • #1
brad sue
281
0
Hi,
Can someone explained me something.
I need a software to program in C (++) language.
I would like to know which software to download / buy:

Microsoft Visual C OR Visual studio or they are the same?

Can you explained me what to do?

Thank you
B
 
Technology news on Phys.org
  • #2
What kind of programming are you doing? I imagine that if you're asking, this isn't major professional work. Is it for class? If so, there are several free compilers and IDEs out there that would save you a sweet couple of hundred bucks over buying either of those.
 
  • #3
I have MS Visual Studio .net 2003, and it allows you to code in many languages, VB, J#, C# and of course C++. MS Visual C++ is a subset of MS Visual Studio so both tools will allow you to do what you want, but you'll have more options/capabilities with Visual Studio which you may or may not need.
That said, i recommend, if you are a student at some university, that you check with your department of Engineering. Many universities, through cooperation with Microsoft's MSDNAA, just give out free Microsoft software of which Visual Studio is an example (that's how i got my copy of it not to mention all my server software, talk about loading up :smile: ).
By the way, do you want to program in C or C++?
 
Last edited:
  • #4
franznietzsche said:
What kind of programming are you doing? I imagine that if you're asking, this isn't major professional work. Is it for class? If so, there are several free compilers and IDEs out there that would save you a sweet couple of hundred bucks over buying either of those.

Yes it is for a class for next semester.
I am trying to anticipate a little bit. Please can you give me some good free compilers and IDEs?

Thank you

B
 
  • #5
brad sue said:
Yes it is for a class for next semester.
I am trying to anticipate a little bit. Please can you give me some good free compilers and IDEs?
Thank you
B


Personally I like Dev-C++, for either C or C++. Although as Job said you might want to check with your campus's Comp Sci department as you might be able to get Visual Studio for free. I know my campus doesn't have it, but we're 90% *nix systems in the Comp Sci department, all Solaris, Debian, and Fedora, so it would be rather useless to us.

You can get Dev-C++ http://www.bloodshed.net/download.html" .
 
Last edited by a moderator:
  • #6
-Job- said:
I have MS Visual Studio .net 2003, and it allows you to code in many languages, VB, J#, C# and of course C++. MS Visual C++ is a subset of MS Visual Studio so both tools will allow you to do what you want, but you'll have more options/capabilities with Visual Studio which you may or may not need.
That said, i recommend, if you are a student at some university, that you check with your department of Engineering. Many universities, through cooperation with Microsoft's MSDNAA, just give out free Microsoft software of which Visual Studio is an example (that's how i got my copy of it not to mention all my server software, talk about loading up :smile: ).
By the way, do you want to program in C or C++?

Yes, I am a student . As you suggested me, I am going to check tomorrow on campus for MS free complilers. (I aslo waiting some online free compilers from Franznietzsche).

I wil begin with some C programming and then we will see some C++.

Thanks a lot

B.
 
  • #7
franznietzsche said:
Personally I like Dev-C++, for either C or C++. Although as Job said you might want to check with your campus's Comp Sci department as you might be able to get Visual Studio for free. I know my campus doesn't have it, but we're 90% *nix systems in the Comp Sci department, all Solaris, Debian, and Fedora, so it would be rather useless to us.
You can get Dev-C++ http://www.bloodshed.net/download.html" .

Thanks a lot!
 
Last edited by a moderator:
  • #8
if microsoft goes to your school besure to check it out they may give you free demo versions.
 
  • #9
As a beginner I doubt you need an IDE. You could code in notepad if you wanted to. My school's Comp Sci department uses Linux/Unix and students need to ssh into the server and type their code in Pico or Vi and then compile with GCC. You could also write the code locally on your computer and sftp to the server and then compile it. The coding situation depends on the school you go to so it is best to ask the professor what you'll need.
 
  • #10
That's what i had to do as well.
 
  • #11
gotta love turbo C editor =]
 
  • #12
Visual Studio is a development environment (sort of like a super text editor whose specific use is in writing computer programs vs Word whose use in in general documents) that allows you to debug your code, create and organize projects with multiple source files, auto complete and indent, syntax highlighting etc. It is really good. Visual C++ is Microsoft's current version (2005) of C++ (compiler, linker etc) and its current implementation is arguably among the most standard's compliant compilers out there. I believe it has surpassed the gcc in that area now.

Also the new version of http://msdn.microsoft.com/vstudio/express/visualc/" is free for the next year. Try it, its quite cool. :D
 
Last edited by a moderator:
  • #13
Sir_Deenicus said:
Visual C++ is Microsoft's current version (2005) of C++ (compiler, linker etc) and its current implementation is arguably among the most standard's compliant compilers out there. I believe it has surpassed the gcc in that area now.


:rofl: :rofl: :rofl: :rofl: :rofl:

That's funny. I used to use VC++ many moons ago and it was nothing but trouble. I have not doubt they they have fixed bugs but VC++ is nowhere near the level of capabilities of the GCC.
 
  • #14
dduardo said:
:rofl: :rofl: :rofl: :rofl: :rofl:
That's funny. I used to use VC++ many moons ago and it was nothing but trouble. I have not doubt they they have fixed bugs but VC++ is nowhere near the level of capabilities of the GCC.
You underestimate microsoft then. You probably used Visual C++ 6.0 no? Well that version was only 60% standards compliant. The current incarnation, 8.0 (MSVC 2005) is at least over 98% compliant. Which is more that GCC 3.x which weighs in at ~95%. Do a search on boost regression tests, microsoft .net compiler standards compliance etc. to get an idea of how things have changed.
 
  • #15
1) Where are you getting your numbers from?
2) GCC 4.x.x has been out for some time now. OSX 10.4 uses it and many others (KDE, Fedora, etc)
 
  • #16
Watcom has another freebie compiler that is worthwile. Has a couple of quirks that are different from Microsoft.
 
  • #17
i still use vc6.0 WOOHOO.
 
  • #18
dduardo said:
1) Where are you getting your numbers from?
2) GCC 4.x.x has been out for some time now. OSX 10.4 uses it and many others (KDE, Fedora, etc)
As early as http://msdn.microsoft.com/msdnmag/issues/04/05/VisualC2005/"
The introduction of the Visual Studio® .NET 2003 C++ compiler was a mouthwatering experience for enthusiasts of the C++ language. With 98 percent conformance to the ISO C++ standard, Visual C++® .NET 2003 was truer to these standards than any previous version and incorporated language support for features such as partial template specialization. It also included enhanced buffer security checks and improved compiler diagnostics.

http://boost.sourceforge.net/regression-logs/"
 
Last edited by a moderator:
  • #19
1) I'll take that 98% with a grain of salt. When has microsoft ever been looking to be standards compliant? Unless their goal is to muck up the standard with their own standards.

2) So what seeing in the regression logs? VC++ isn't even being tested.
 

1. What is the difference between C and C++ software?

C and C++ are both programming languages that are widely used in software development. While they have many similarities, there are also some key differences. C is a procedural language, meaning that it focuses on step-by-step instructions for the computer to follow. C++ is an object-oriented language, which means it uses objects and classes to organize and structure code. C++ also has additional features such as polymorphism and inheritance, which are not found in C.

2. Which software option is better for beginners, C or C++?

Both C and C++ have their own strengths and weaknesses, and the choice ultimately depends on the specific needs and preferences of the programmer. However, many experts recommend starting with C as it is a simpler and more straightforward language, making it easier for beginners to learn the fundamentals of programming. Once a strong foundation in C has been established, it is often easier to transition to C++.

3. How do I choose the right C/C++ software for my project?

Choosing the right software option for your project depends on a variety of factors, including the specific requirements of your project, your level of experience with C and C++, and the availability of resources and libraries for each language. It is important to carefully consider all of these factors and do research on the different options available before making a decision.

4. Can I mix C and C++ code in the same project?

Yes, it is possible to mix C and C++ code in the same project. C++ is designed to be compatible with C, and most C code can be compiled and run in a C++ compiler without any issues. However, it is important to be aware of the differences between the two languages and ensure that the code is written and organized in a way that allows for successful integration.

5. What are some popular C/C++ software options?

Some popular C/C++ software options include Microsoft Visual Studio, Eclipse with CDT, and Code::Blocks. These software options provide a comprehensive development environment with features such as code completion, debugging tools, and project management. Other popular options include Xcode for Mac OS and Dev-C++ for Windows.

Similar threads

  • Programming and Computer Science
Replies
9
Views
569
  • Programming and Computer Science
Replies
1
Views
1K
  • Programming and Computer Science
Replies
16
Views
1K
  • Programming and Computer Science
Replies
8
Views
688
  • Programming and Computer Science
Replies
29
Views
2K
  • Programming and Computer Science
Replies
3
Views
667
  • Programming and Computer Science
Replies
10
Views
2K
  • Programming and Computer Science
Replies
28
Views
680
  • Programming and Computer Science
Replies
15
Views
1K
  • Programming and Computer Science
Replies
7
Views
1K
Back
Top