well, according to benp (i don't have an imac, so i can't testify in front of a jury), you can get 1280*1024 @ 60hz... that should transfer over to your monitor, considering that your external monitor isn't old and supports those specs...
cout << "hello, world" << endl;