Is this a good forum for asking programming questions or is there a better one for gcc? I don't have my C book on me and I need to print debug info to a text file. Does anyone have a code snippet ob how to open a file and print to it? Thanks Ringo