dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: New canvas when creating new project in Visual Studio and C++

  1. #1
    Join Date
    Jan 2020
    Posts
    1

    New canvas when creating new project in Visual Studio and C++

    Each time I create a new C++ project with Visual Studio, I'm shown a source such as this one :


    // Hello World.cpp : This file contains the 'main' function. Program execution begins and ends there.
    //

    #include <iostream>

    int main()
    {
    std::cout << "Hello World!\n";
    }

    // Run program: Ctrl + F5 or Debug > Start Without Debugging menu
    // Debug program: F5 or Debug > Start Debugging menu

    // Tips for Getting Started:
    // 1. Use the Solution Explorer window to add/manage files
    // 2. Use the Team Explorer window to connect to source control
    // 3. Use the Output window to see build output and other messages
    // 4. Use the Error List window to view errors
    // 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
    // 6. In the future, to open this project again, go to File > Open > Project and select the .sln file

    I would like to replace this canvas by my own one, so it appears automatically each time I create a new project and I don't have to constantly edit what I don't want in the default canvas.

    How do I do that?

    Thank you in advance.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,208

    Re: New canvas when creating new project in Visual Studio and C++

    You'll need to create a new project template which varies depending on the Visial Studio version you are using. See https://docs.microsoft.com/en-us/vis...s?view=vs-2019

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)