Embed stuff inside the executable itself?

I'm still a beginner, but I'm wondering how to save some info inside the executable? Is there a library or something for that?

Can anyone point me where to learn that?
Thanks
This is called "static linking".
In other words, you must compile your "stuff" into an object file, and link it to the executable.

Windows makes this easy by giving applications "resources".
On *nix systems you can get some help here:
http://www.linuxjournal.com/content/embedding-file-executable-aka-hello-world-version-5967

Good luck!
Topic archived. No new replies allowed.