How to use a .exe with a compiled program.

I am confused about how to use a .exe file in unix along with a compiled C++ program. I've been using emacs and I compiled with g++, but I have no idea how that relates to use with a .exe.

Sorry, I figured it out myself. The .exe file can be used as a simple command for the a.out, or compiled output of the program.