Since Codeforces and other online judges compile with -DONLINE_JUDGE option in C++, I frequently use the following construct in my code. But, this causes a problem when using Hightail, as it expects output from stdout, not output.txt file.
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
So, if Hightail could recompile the code with -DONLINE_JUDGE option, it would solve this issue.