Test for “Paste from VS” plug-in

Pasted from ScribblePapers:

void BoostTests()
{
    DbgLog(__FUNCTIONW__);

    boost::array<int, 3> myIntArray;
    myIntArray[0] = 2;
    myIntArray[1] = 8;
    myIntArray[2] = 1976;

    int result = 0;

    foreach (int number, myIntArray)
    {
        result += number;
    }
}

Pasted from VS2008:

(including VisualAssist X with enhanced syntax coloring ….)

void BoostTests()
{
    DbgLog(__FUNCTIONW__);

    //LOG::VATest vatest;
    //vatest.TestVAFindAcrossProjects();

    boost::array<int, 3> myIntArray;
    myIntArray[0] = 2;
    myIntArray[1] = 8;
    myIntArray[2] = 1976;

    int result = 0;

    foreach (int number, myIntArray)
    {
        result += number;
    }
}

About hfrmobile

Nice guy but with a sarcastic type of humor. I have combined hobby and profession and I am happy about this. At the moment I am holding MCP, MCSE (NT 4.0), MCTS and MCPD certificates. Having experience in developing software for more than 15 years. Started learning programming using Pascal, Assembler, C/C++. Also having experience with non-Microsoft products / programming languages (e.g. PHP). Most experiences at the moment: MySQL, MS-SQL, PL/SQL, ASP.NET, C#, Silverlight (Windows Phone) and WPF.
This entry was posted in Allgemein. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s