Mitchell Timin wrote:
> This is a multi-part message in MIME format.
> --------------080601050001060405090704
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I wrote a C program that converts a text file of numbers to a binary 
> file of floats, or vice-versa.  It's attached.  It's all in one file, so 
> you just have to compile that file and make an executable called 
> "convert" or "convert.exe"
>
> Then, say you have a chromosome file named "savedchromes".  You just 
> type the commmand:
> convert savedchromes
> and you get a file called savedchromes.txt which consists of the same 
> values in text form.  You can then email that file to someone whos 
> floats are not binary compatible.  He will then give the command:
> convert savedchromes.txt
> He will get a binary file named savedchromes.txt.bin which is compatible 
> with his machine.  He can rename the file to something more convenient 
> if he wishes.
>   
I put the program (convert.c) in the SVN repository, under 
trunk/users/timin.

m

-- 
I'm proud of http://ANNEvolve.sourceforge.net.  If you want to write software, 
or articles, or do testing or research for ANNEvolve, let me know.  


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Reply via email to