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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by echoscot

  1. echoscot

    Serializing Strings

    Thank you that is very helpful about the vector/array to read into. I actually did set up a separate ifstream object, unlike the pseudocode I posted.
  2. echoscot

    Serializing Strings

    I have to serialize some string data to a binary file: example: string name = "My Name"; ofstream fout("file.dat", ios::out|ios::binary) int size = name.size(); fout.write(reinterpret_cast<char*>(&size), sizeof(int)); fout.write(reinterpret_cast<char*>(&name), sizeof(size))...

Part and Inventory Search

Back
Top