Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

read objects to file cpp

ifstream file_w ("obj.txt");
file_w.read((char *)&(object_name), sizeof(object_name));
cout<< "successfully written in file
";
file_w.close();
 
PREVIOUS NEXT
Tagged: #read #objects #file #cpp
ADD COMMENT
Topic
Name
1+2 =