Languages/CPlusPlus/Templates/CPlusPlus-Template-HelloWorld.ps.ps1

Template function HelloWorld.cpp {
    <#
    .SYNOPSIS
        Hello World in C++
    .DESCRIPTION
        A Template for Hello World, in C++.
    #>

    param(
    # The message to print. By default, "hello world".
    [vbn()]
    [string]
    $Message = "hello world"
    )
    process {
@"
#include <iostream>

int main() {
    std::cout << "$Message";
    return 0;
}
"@

    }
}