How do i format in vs 2008?

Yuval Archit 1 Reputation point

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.
4,082 questions
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,313 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 36,711 Reputation points

    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