Keith - 2008-07-20

Hello.

First, after hello, please forgive me for not posting the Basic 3 because they don't apply.

BACKGROUND BEFORE QUESTION:
I took some programming classes in college, including c++, and have done some VBA macros in Excel as well as some StarBasic macros in OpenOffice.org (the free replacement for Excel) as part of an eventual transition to Linux. Back when Windows became "the" platform I bought Petzold's book, read some of it, and threw up my hands. Windows programming was just too much for a hobby programmer. Then all the visuals came along, and it was still too much. (Or I'm just too old fashioned to appreciate them properly.)

In my reading about Linux, I ran across curses. It sounds like something I might be able to actually use and enjoy for some small amount of utility programming and some programming for fun. I'm going to switch over within the year to Linux. I won't make the switch to Linux until the next computer, and I'll still have two boxes for a while just because there's too much on the old one that has accumulated over the years that requires a Windows environment.

In some searching on this forum I found that one might use ncurses on Dev c++ by using:

$ sudo apt-get install libncurses-dev ,

and I found a link to this article:

http://heather.cs.ucdavis.edu/~matloff/UnixAndC/CLanguage/Curses.pdf

MY QUESTION:
If I write a program using Dev c++ and the ncurses library, will this code still work later in Linux using ncurses? (Assuming, of course, that I would still have to change anything that was Windows specific with reference to directories, files, etc. That part seems a given.)

All replies are appreciated, and my apologies in advance if the question seems stupid... I'm trying hard to make it as specific and intelligent as possible. Thanks for your time!!

Keith