VectorInt::SaveToFile Method

void SaveToFile(const DewString &FileName, const bool Append = false) const;

Write object header and values to a file.

#NameTypeDescription
1FileNameconst DewString &
2Append = falseconst bool
Remarks:

Write the header describing the calling object and the values array of the calling object to the file, specified by the FileName. If the file already exist, the data is overwritten by default. If Append is True, the data is appended to the end of the file.

Note
It is recommended you use a .mtx extension when you're saving/loading matrix to/from file. Similarly, you should use a .Vec extension when you're saving/loading vector to/from file.

See Also: VectorInt::LoadFromFile, VectorInt::SaveToStream, VectorInt::LoadFromStream
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler