what to do with .o files?
So I gave ubuntu a shot, been hearing some cool stuff about linux and it's always good to learn new things so I thought why not. I've still got windows installed on my system as well.
After having a look at some of the c++ IDEs available for linux I found one and made a simple hello world program. I built it, compiled it and executed it and it worked from within the IDE.
Then I closed the IDE (geany, for those who are wondering) and located the program within my documents. I found it and opened it and I got a complaint that it didn't recognise the file type. It was a .o file.
Basically I'm wondering a couple of things
a) How can I open the program I made outside the IDE?
b) How can I create files which other people can download and run from my site (like a .exe for example) or am I condemned to programming in windows if I want to do this?
c) Is there a way for users using OS X or Windows to download and run .o files?
Basically I like to distribute the programs I make. It's one of the primary reasons for doing it
Thanks for your help :)