platform independent programming

hi, i want to write platform independent programs and i am having trouble figuring out how to effectively carry out console input-output functions that would work both for win32 and linux\unix. i dont need any fancy gui api's, just something like ncurses (is ncurses platform independent?).

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar02.webp

12 Posts
Location -
Joined 2003-06-13
hi, i want to write platform independent programs and i am having trouble figuring out how to effectively carry out console input-output functions that would work both for win32 and linux\unix. i dont need any fancy gui api's, just something like ncurses (is ncurses platform independent?). PLEASE HELP! thanks!

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar37.webp

213 Posts
Location -
Joined 2004-01-02
Try Java or Perl. Both work in either OS. C++ can make platform-independent programs, but they must be compiled with proper headers and includes for each platform. Both Perl and Java are more or less interpreted languages.