Hey.

Basically im trying to update the window title for my program.

At the moment im using setWindowTitle to do this, but I can't figure out how to include an int variable to display properly.

I have an integer for 'lives' and setting the title to something like "setWindowTitle("Lives: " + lives); produces strange errors.

Anyone able to help?