MSVC++ 2010 issues

This is a discussion on MSVC++ 2010 issues within the Windows Programming forums, part of the Platform Specific Boards category; I'm trying to move my existing project to Visual C++ Studio 2010 Express. I've never written anything in MSVC (only ...

  1. #1
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    671

    MSVC++ 2010 issues

    I'm trying to move my existing project to Visual C++ Studio 2010 Express. I've never written anything in MSVC (only used it for compiling) and I'm very disappointed about its user-friendliness. I've done some research without much success:

    1. Is there really no possibility to add right margin in the code editor (line which shows when the 80th column is exceeded)? Setting up registry key does not work and third-party extensions are unavailable for the express edition.

    2. I can't switch between .hpp/.cpp files!! This only works for .h files and only in 1 direction.

    I was thinking that these are common and standard features which are implemented in every IDE, but it looks like I was wrong. Macros and extensions are unavailable for the Express edition. Maybe I want too much from the Express edition?
    I never put signature, but I decided to make an exception.

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    1. Is there really no possibility to add right margin in the code editor (line which shows when the 80th column is exceeded)? Setting up registry key does not work and third-party extensions are unavailable for the express edition.
    Yes there is but I believe it is a registry setting. I used to use this but with the all the widescreen monitors around it has become less of an issue.

    2. I can't switch between .hpp/.cpp files!! This only works for .h files and only in 1 direction.
    I do not understand this statement. The IDE will open both of those types and you can switch between them by clicking their respective tabs above the code window.

    There is more in the Express edition if you select Advanced mode for the IDE. This sets MSVS up more like Premium, Professional, Team, Ultimate and the 80,000 other versions they have.

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    In the professional version, you can click on the function definition in the header or the function signature in the cpp and select to go to either to the definition or the implementiation. You can also find all references to this function or variable. This way you can switch between header and source of any function. I don't think there is a way to actually switch between files. How would the IDE know about which files beong together, just name? Seems to be the cheap way out if you want to provide the above feature (goto definition/implemantation) without actually parsing code. I don't know if it exists in the Express Version, too.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    671
    In Borland and Code Blocks there is an option (and hotkey) to quickly switch between .hpp/.cpp files (I don't need to look for tabs). In Visual Studio there is "Go to header file" option under context menu. It does not work, because my files have extensions .hpp. If I change extension to .h it works and switches (but only from .cpp to .hpp, the reverse is not possible). I got mad and downloaded Visual Studio 2010 Ultimate so I can install extensions/macros now and it seems to work. It's just a shame that such a huge IDE hasn't implemented properly such a basic feature.
    I never put signature, but I decided to make an exception.

  5. #5
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    In the professional version, you can click on the function definition in the header or the function signature in the cpp and select to go to either to the definition or the implementiation. You can also find all references to this function or variable.
    I believe the Express version also has this feature. Express primarily lacks all the nice tools that come with the standard and up versions but the IDE is nearly the same. There are a few minor differences but most projects would not be affected by them. One big issue that still stands is that MFC is not distributed with any Express edition of MSVS. There is a breakdown of the various versions on Microsoft's site that clearly show what features are available in each of them.

    Two big thumbs up to Microsoft for providing the Express editions. They also have Express MSDN, SQL Server, IIS, Web dev, and so forth. Excellent free tools.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ 11 In VS 2010 ?
    By Quicken21k in forum C++ Programming
    Replies: 4
    Last Post: 09-15-2011, 06:24 AM
  2. Using DirectX with MSVC 2010
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 07-28-2011, 04:35 PM
  3. 20/10/2010 20:10
    By Salem in forum General Discussions
    Replies: 10
    Last Post: 10-21-2010, 10:46 AM
  4. Windows 7 RC, Visual Studio 2010 Beta, Office 2010 beta, anyone in?
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-20-2009, 01:57 PM
  5. MSVC 2005 .NET Intellisense issues
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 09-19-2006, 03:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21