How to paste such function template body of code snippet in Visual Studio (C++) 2022?

Stan Huang 20 Reputation points
2024-03-12T01:19:25.9966667+00:00

I cannot figure out how to paste the code template at the point at time 10:49 or 12:05 at the learning video at https://www.youtube.com/watch?v=zv8DkkhBNR0
I browsed several similar learning videos about Visual Studio C++ 2022 and had the same question. I went back and could not figure out how the code template was generated. By right-clicking or left or double-clicking, ...?

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,636 questions
0 comments No comments
{count} votes

Accepted answer
  1. Minxin Yu 11,026 Reputation points Microsoft Vendor
    2024-03-12T01:29:05.75+00:00

    Hi, @Stan Huang

    There is no shortcut key to automatically supplement such code.
    The video may use another window to copy the code or edit to omit the copying process.

    It is done by copy and paste CTRL+C and CTRL+V, the code is provided in the comments section of the video.
    User's image

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful