Closed danfiscus closed 10 years ago
I had my linux box camouflage itself as a window's computer. Here is what I got:
How many factors do you want listed?n7 Next, please enter a number to see it's factors.n30 30 divided by 1 is 30n30 divided by 2 is 15n30 divided by 3 is 10n30 divided by 5 is 6n30 divided by 6 is 5nWould you like to calculate more? Y for yes, N for no.n Next, please enter a number to see it's factors.n30 30 divided by 1 is 30n30 divided by 2 is 15n30 divided by 3 is 10n30 divided by 5 is 6n30 divided by 6 is 5nWould you like to calculate more? Y for yes, N for no.n 30 divided by 1 is 30n30 divided by 2 is 15n30 divided by 3 is 10n30 divided by 5 is 6n30 divided by 6 is 5nWould you like to calculate more? Y for yes, N for no.n more? Y for yes, N for no.n
I believe this is because '\n' is only a new line on linux (and maybe OS X) that windows does not recognize. Changing all '\n' to endl would fix this.
Thank you! I'll get to changing the n's to endl's now.
I still don't know if it works! Neither dev has Windows... https://github.com/danfiscus/factorpro/wiki#downloads click Microsoft Windows (obviously)