Thread: Were Visual studio 2005/2008 C++ 11 support instructions ever posted here?

  1. #1
    Registered User
    Join Date
    Jun 2013
    Posts
    3

    Were Visual studio 2005/2008 C++ 11 support instructions ever posted here?

    Hi all,

    I've spent a lot of time searching this forum for an answer before posting this, but ages ago when Google search results used to bring me to this site I am pretty certain there was a member here who, in their signature, posted advice on using Visual Studio to compile C++ 11. I thought it was laserlight, but I seem to be wrong.

    Now when I actually want this advice, I cannot seem to find it. This might be because it never existed and I am confused (highly possible!), in which case I apologise, or it might have been removed.

    Can someone who has been more around on this forum more that I please put my mind at rest?

    Thanks in advance.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    27,156
    Nope, not me. I stopped using Visual Studio well before C++11 was published.
    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
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    C++11 is supported in 2010 and above (although still only a subset; Visual Studio still does not have complete C++11 support).
    2005/2008 was released before the standard was finished, so no support there.
    But what do you want to know? Basically you just take the code, use the 2010 compiler or above and compile. There's nothing special you have to do to enable C++11 support.
    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.

  4. #4
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,793
    Here is the list of supported features by revision
    https://msdn.microsoft.com/en-us/lib...vs.140%29.aspx

    There is no switch like in gcc to enable or disable it...
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    David J. Wheeler

  5. #5
    Registered User
    Join Date
    Jun 2013
    Posts
    3
    Thanks very much for posting all

    OK, Elysia what I was asking for is because I adore the VS 2005/2008 IDE so I was wanting to be able to able to use C++ 11 from within that IDE without the overhead of having to learn a new IDE. I thought I saw someone advise how to setup VS to use a C++ 11 compiler and linker, or at the very least something to do with configuring a compiler or Visual Studio, it was years ago (sorry I know that doesn't help).

    But thinking about it I guess it wouldn't really be any use as the debug info might not be able to read by VS rendering debugging useless. Grrrr I wish I could find what it was I first read - it was definitely in someone's signature...

    So the only way I can see to use VS with C++11 is via the VisualGDB plugin which relies on a UNIX based machine. Any recommendations on a Linux compiler set (slight tangent, I know)?

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Dazman View Post
    OK, Elysia what I was asking for is because I adore the VS 2005/2008 IDE so I was wanting to be able to able to use C++ 11 from within that IDE without the overhead of having to learn a new IDE. I thought I saw someone advise how to setup VS to use a C++ 11 compiler and linker, or at the very least something to do with configuring a compiler or Visual Studio, it was years ago (sorry I know that doesn't help).
    You know, you could just upgrade to the latest version. It's still Visual Studio, so you don't have to learn a new IDE, but has a lot better C++11 support.
    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.

  7. #7
    Registered User
    Join Date
    Jun 2013
    Posts
    3
    Fair enough, thanks very much all

  8. #8
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Elysia View Post
    You know, you could just upgrade to the latest version. It's still Visual Studio, so you don't have to learn a new IDE, but has a lot better C++11 support.
    Not to mention, it's free now.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Im going mad Visual Studio 2008
    By r_james14 in forum C Programming
    Replies: 2
    Last Post: 12-07-2011, 05:14 PM
  2. Visual Studio 2008 C++ Theme
    By valaris in forum Tech Board
    Replies: 0
    Last Post: 06-11-2009, 01:55 PM
  3. anyone have visual studio 2008?
    By m37h0d in forum C++ Programming
    Replies: 5
    Last Post: 04-04-2009, 11:32 AM
  4. C & visual studio 2008
    By Red Maw in forum C Programming
    Replies: 2
    Last Post: 04-02-2009, 09:06 PM
  5. New to Visual Studio 2008
    By bargomer in forum C++ Programming
    Replies: 5
    Last Post: 09-19-2008, 02:16 PM

Tags for this Thread