I am writing text to an ascii file.
I want the text to look like...
"John", "Doe"
I have two variables, fName and lName
how to write my fprintf() statement so I get the quotes in my output file.
Thanks.
mashley.
I am writing text to an ascii file.
I want the text to look like...
"John", "Doe"
I have two variables, fName and lName
how to write my fprintf() statement so I get the quotes in my output file.
Thanks.
mashley.
Go Angels!
Go Lakers!
Go Trojans!
Go Stock Market!
You can do a backslash-quote to output a quote in your fprintf().
fprintf(fp,"\"%s\" \"%s\"\n",fName,lName);
Thank you!
Go Angels!
Go Lakers!
Go Trojans!
Go Stock Market!