Thread: New Compiler

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    human jerkey dead_captain's Avatar
    Join Date
    Jan 2008
    Location
    509
    Posts
    37

    Cool New Compiler

    Is Visual C++ 2008 Express Edition good for C++ code?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Elysia uses it, and has recommended it. I am still using the 2005 edition, in which the compiler is reasonably standards compliant and the IDE is not bad.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    903
    What do you mean by 'good for C++ code' ? The whole Visual Studio suite is quite a reference in programming IMHO.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Sure, it's a good IDE for writing C++ apps.
    There's not much different between 2005 and 2008 for C++, but since the Express edition is free, you're free to go for it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Is Visual C++ 2008 Express Edition good for C++ code?
    Yes. However, you won't notice much difference between 2005 and 2008 if all you're using is standard C++.
    My best code is written with the delete key.

  6. #6
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I'd also recommend visual studio express versions, free and easy to get into. If you're using anything other than standard C++/Microsoft libraries it's only a matter of adding the files to your project and you can make a template to make it easier later on. I have only been using the visual C# version for windows forms, but visual C++ is just as good as a lot of free compilers.

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Not to mention Visual Studio is usually aimed at professional developers, but they've chosen to make the Express edition free, and it comes with a lot of goodies from the real, more expensive versions too.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by Elysia View Post
    Not to mention Visual Studio is usually aimed at professional developers, but they've chosen to make the Express edition free, and it comes with a lot of goodies from the real, more expensive versions too.
    Also, you cant sell the code you compile with express.

  9. #9
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    And say what you will about the difficulty of the MSDN reference and help, there's a lot of resources on their dev network. I almost neglected that but they have some good vids and info on how to use their stuff.

  10. #10
    Registered User
    Join Date
    May 2006
    Posts
    903
    Quote Originally Posted by indigo0086 View Post
    And say what you will about the difficulty of the MSDN reference and help, there's a lot of resources on their dev network. I almost neglected that but they have some good vids and info on how to use their stuff.
    It's only difficult at first because you need a bit of knowledge and you need to know the terminology of C++ programming to understand it. When you get that down it's not that hard to find whatever you're looking for =)

  11. #11
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    I find the new online MSDN library kind of annoying when looking for things. I'm glad I still have a copy of the old MSDN app from the pre .NET days. It's not up to date, but searching & bookmarking is a lot easier.

  12. #12
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Quote Originally Posted by cpjust View Post
    I find the new online MSDN library kind of annoying when looking for things. I'm glad I still have a copy of the old MSDN app from the pre .NET days. It's not up to date, but searching & bookmarking is a lot easier.
    Drop the old and get the new:
    http://cboard.cprogramming.com/showt...161#post704161

    gg

  13. #13
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Quote Originally Posted by Desolation View Post
    It's only difficult at first because you need a bit of knowledge and you need to know the terminology of C++ programming to understand it. When you get that down it's not that hard to find whatever you're looking for =)
    I meant more for the specific implementation/framework stuff rather than standard C++.

  14. #14
    human jerkey dead_captain's Avatar
    Join Date
    Jan 2008
    Location
    509
    Posts
    37
    I was using DEV-C++, and that was a simple app. I can't seem to get the code to compile in VC++, I can't even find the compile icon. Is the whole app different? Do I have to learn new c ++ code? AHHH!

  15. #15
    Registered User
    Join Date
    May 2006
    Posts
    903
    Quote Originally Posted by dead_captain View Post
    I was using DEV-C++, and that was a simple app. I can't seem to get the code to compile in VC++, I can't even find the compile icon. Is the whole app different? Do I have to learn new c ++ code? AHHH!
    In Express 2005 you needed to hit F7 to compile and then Ctrl + F5 to run. Just check in the "Compile" menu or something like that. Note that you need to create a new project in order to compile. You can't compile a single file if it is not part of a project.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  3. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  4. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM