efundas
Member level 3
DO*S to U$nix C
I have some C programs which were used in DOS environment. Now I want to use these C programs in Unix environment. When I use them I am getting a totally a different result. My guess was that the data format ie, little indian and big indian is the cause for the wrong results, but I am not sure, can anyone confirm this. If so then is there any tool through which I can convert my DOS based C code to unix based c code.
I have some C programs which were used in DOS environment. Now I want to use these C programs in Unix environment. When I use them I am getting a totally a different result. My guess was that the data format ie, little indian and big indian is the cause for the wrong results, but I am not sure, can anyone confirm this. If so then is there any tool through which I can convert my DOS based C code to unix based c code.