[ubuntu] Cannot execute binary file

view story

http://ubuntuforums.org – heyall today i wrote a very basic program, compiled it with chmod u+X whichn worked fine but when i try to execute the file i get "cannot execute binary file" error message if anyone know why or how i can fix it please let me know (im sure by the very nature of my question it is obvious i am a total noob to bash commands so please keep any descriptions or instructions as basic as possible) thnx in advance (Hardware)