If you liked Flash for Freedom! (The Flashman Papers) by George MacDonald Fraser,
here are some books like this:

Click on a title, author name or category to see similar books