I use a digital compass, that shows the direction in degrees on the top left side. You can turn it on or off in the game menu. It's off by default.
http://www.armaholic.com/page.php?id=7871
http://www.armaholic.com/page.php?id=7871