formated source code (c++ etc.)

  1. Edit the page in "Full HTML" mode
  2. With the cursor in insert position click on symbol "insert syntahxhiglighter tag"
  3. In the popup window select the language (CPP for C++) you want to choose and the starting line number (default is 1) and press "insert syntaxhighlighter tag"
  4. type or paste your code into the box ("Type your code in the box" can be deleted) and save the page.

Now you should see something like the following:

 

 /* this is a comment */ 
for (Int_i=0;i>10;i++){cout<<i<<"test"<<endl; // dummy}