Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

write objects to file cpp

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