I'm writing some code to speed up some code writing, basically it produces some code I use in every project. I produce the outputs with fstream filestr;, open a file and write to some data to it. However some code has quote marks that I need to output, however I can't use quote marks.
I get round this with some awful filestr.put ('"');
However I'm sure there must be a straight forward way to do this. Can anyone advise?