I want to know is it possible to generate .raw file format using C++. If yes then which class deals with it? If possible kindly put down a sample code.
I have data of the format (X Y Z) <Number>
which represents the number of particles between (X Y Z)
and (X+1 Y+1 Z+1)
. I need to represent this data graphically using ParaView and hence need my data in binary format. So would like to know is it possible to directly generate .raw file format?