To my knowledge, an .exe (runnable programs) can not use <fstream> to create .exe files. You can create and edit .txt files, which can be used to store variables even if the program shuts down.
.dll files (Dynamic Link Libraries) can be called to get code from outside the .exe, however they must be compiled like .exe files.
What's your problem? You came here asking for peoples help, so to call the people you're asking stupid, yelling at them, and being generally rude makes people not want to help you. You phrased your question in a manner that people didn't understand, and made an ass of yourself when people willing to help you asked you to clarify, so please try to be a little politer and everyone on this forum will be happy to help ;)