English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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????

2006-08-03 07:43:17 · 2 answers · asked by RAJ 1 in Computers & Internet Programming & Design

2 answers

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");

2006-08-03 17:17:14 · answer #1 · answered by swami060 3 · 1 0

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.

2006-08-03 21:09:52 · answer #2 · answered by Steve T 3 · 0 0

fedest.com, questions and answers