Archive

Posts Tagged ‘Tools’

Source code test

I’m just testing the source code highlighting features in WordPress for future tutorials and I think it looks pretty cool! Full details of how to use this in your own blogs can be found here WordPress sourcecode highlighter. The only slightly annoying aspect is that the copy to clipboard button only seems to work in Microsoft iExplore for me. You can get around this by clicking the view plain and then copy pasting the selection when using Chrome or Firefox browsers. I find this slightly ironic as this WordPress plugin is based on a Google code project. 😉

#include

unsigned short int a;
unsigned short int * b;

int main()
{
a = 3;
std::cout << "value held = " << a << "n"; std::cout << "stored at = " << &a; std::cin.get(); return 0; } [/sourcecode]

Categories: Tools Tags: , ,