1. windwiny
  2. wxPython

Source

wxPython / wx / tools / Editra / tests / syntax / cpp.cpp

/** Syntax Highlighting test file for C++
 *  \brief Doxygen tag highlighting
 */
#include<iostream>
#include<cstdlib>

using namespace std;

int main(void)
{
    cout << "\nHello World" << endl;
    cout << "\nUnclosed String << endl;

    // One line comment
    int a = 0;

    exit(a);
}

int add(int x, int y)
{
    return x + y;
}

void TestClass::Foo(int &nVal)
{
    nVal++;
}

// EOF