How do you make programs portable on unix and dos under such circumstances?



How do you make programs portable on unix and dos under such circumstances?..

Answer / Chandra Bahadur

To make a program portable between Unix and DOS, you can use cross-platform development tools or write the code in a language that supports both platforms. Additionally, you should avoid using platform-specific functions or libraries, and handle differences in line endings (Unix uses LF and DOS uses CRLF) to ensure proper file I/O.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

What Happens when you execute a program?

1 Answers  


What was unix originally written for?

1 Answers  


How to change the directory in unix?

1 Answers  


Is unix still around?

1 Answers  


What is Process id in unix?

1 Answers  


What is unix used for?

1 Answers  


What is unix and its components?

1 Answers  


Who is founder of unix?

1 Answers  


What is a unix shell?

1 Answers  


What are the main features of unix?

3 Answers  


How do you determine and set the path in unix?

1 Answers  


How many root directories exist in unix?

1 Answers  


Categories