How do i format in vs 2008?

Yuval Archit 1 Reputation point
2022-03-28T14:14:16.053+00:00

AM using 20 yrs old laptop with windows xp so i installed vs 2008 in it to learn c++. I just don't know how to format the code even though i have done it in my fathers laptop in vs 2022... i want to know if i can format my code in vs 2008.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,137 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,737 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 45,571 Reputation points
    2022-03-28T14:29:50.28+00:00

    C++ has evolved considerably since VS2008 was released. Your learning experience will benefit from working with a current version of Visual Studio so you should look into modernizing your environment if possible.

    As far as code formatting is concerned the keyboard shortcut of Ctrl-K,Ctrl-F worked in my old version of VS2008 Professional.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.