Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: chaco
  • Order by date
  1. chaco

    write/read strings with spaces and line breaks to/from a text file

    I have a question about C++. Assume char timestamp[255]; char title[255]; etc.. and examples of the two strings: Mon Oct 22 22:47:25 2001 My title etc.. I want to save the data in a neat text file, and then read it in again. I save the data by using: fprintf (fp, "%s\n&quot...

Part and Inventory Search

Back
Top