Is it possible to generate procedural c++ Hello World in VP-UML?

Hi, is it possible to make the following in a VP-UML model?

#import <iostream>
using namespace std;

void main(){
     cout << "hello world";

Currently I can only get the following using a class diagram:

class Global{
     public : void main();

       cout << "hello world";

There seems not to be a way to define global methods.

Maybe over a user defined Stereotype and changes to the instant code generator scripts. But i think this is for advanced users only.

mfg. Jed