how to sort?

Pages: 12
EssGeEich, Thank for your reply, I changed my code with your suggestion , output file is sorted but all are in integer format.i.g



Last edited on
No wonder since you use strtoUL and stoI. ( unsigned long and int, respectively).
You don't read floats, you will not print floats.
I didn't get actually, read and write file was given by my teacher. could you say what part ,should I change?
by searching I found my problem and fixed it , thank you all for your help.
thank you.
Topic archived. No new replies allowed.
Pages: 12