Monday, July 27, 2009

Hw do i run a"c++ progrm vich uses file handlin" on linux platform?

i hav a code of bankin managmnt.


i hav used file handlin and wanna run the code on linux bt hav no idea how to????

Hw do i run a"c++ progrm vich uses file handlin" on linux platform?
A well written C++ code would compile and work fine on Linux too. Just make sure that you do not have any platform specific paths in your code like


FILE *fp = fopen("C:\\myfile.txt");
Reply:Did you text message this in or something?





Any way you would do file handling on whatever platform you did it before on would probably work the same on linux. Unless you dealt with linux specific system calls, you wouldn't really notice a difference. C++ is written to be portable.


No comments:

Post a Comment