ok all I need is to do is put qoits in cout. Like cout<<"She said"this""; or something like that. It is not dissus able I need quotation marks in it. (makeing JavaScript thing from inside program with user imput.) Just tell me how to do it instead of alternative ways of doing it. Unless the only way isnt this.

Try the escape sequence \" e.g.

std::cout << "this is a quote \"" << std::endl;

Cool man. Now how do I put a plain \ in it.

Oh yeah will this work in ofstream ?