I'm making a simple console app, but I would like to proivde a nice-looking HTML help/tutorial file along with it. What I would like is that the user can specify a -h command line argument or something, and my program will write a "help.htm" file to the current directory, which is of course the aforementioned pretty-looking help file. It seems like I found someone with a similar problem:
but I would hate to parse it manually like that and insert it into the program; that looks pretty dirty. It would be great if there's some mysterious concoction of preprocessing directives that gets me what I want. Or.. anything. Some kind of weird include/stringify mix? Any suggestions? Thanks
PS ooh and how about a binary file? Like if I wanted to write a jpg file also? That would be gravy on top of gravy, if anyone knows a way to do that.