convert between file format
i was wondering how do you convert some of the files used for your program to another file format defined by me in your program dynamically.
For eg. from a .3DS file to maybe .adt file format.
how do you program in such a way that the program will retrieve all files of that particular format and transfer the content to another file.
adrian chen weihou
adrian chen weihou
The best way I can think of is to load all the data from one file into memory and save it as a new format, as opposed to coverting directly from one format to the other. This way you can accomodate for extreemly different syntax in the files. I''ll stop rambling now...
--------------------
You are not a real programmer until you end all your sentences with semicolons;
--------------------
You are not a real programmer until you end all your sentences with semicolons;
Visit the ROAD Programming Website for more programming help.
--------------------
You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor
You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement