I am writing a console 32 app in MS Visual C, to convert a text file to a series of Active Server Pages Files, and need to be able to sent (') and (") from C to my output file
I am writing a console 32 app in MS Visual C, to convert a text file to a series of Active Server Pages Files, and need to be able to sent (') and (") from C to my output file
precede the ' and " with \, like you would when outputting a newline
-Govtcheez
[email protected]
#include <iostream.h>
int main()
{
cout<<"And the dog said, \"Hello I\'m Going Home\"."<<endl;
return 0;
}
should output And the dog said, "Hello I'm Going Home".
+++
++
+ Sekti
++
+++