Find the answer to your Linux question:
Results 1 to 3 of 3
Dear all, I am currently doing some migration of C++ source code from win OS to Linux OS and using Netbean 6.1 for developing the code. Could anyone be kind ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    14

    Difficulties programming in Linux OS (Code migration from Win OS)

    Dear all,

    I am currently doing some migration of C++ source code from win OS to Linux OS and using Netbean 6.1 for developing the code.

    Could anyone be kind enough to help me, a newbie in Linux OS, on the following problems:

    1) A command in C++ used in Win OS, there's a command on ClearCommErr, may I know what's the equivalent C++ command in Linux OS?

    2) A command in C++ used in Win OS, there's a command on ComStat.cbInQue;, may I know what's the equivalent C++ command in Linux OS?

    3) If possible, may I know where can I find the equivalent commands of the above and more of those command found in Win OS but not in Linux OS?

    Thank you very much if anyone can shed some light on this for me...

    A million thanks.

    Regards
    Linux Explorer

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Isn't Netbeans a Java IDE?

    In any event, since I suspect most of us have not programmed under Windows, it will be very helpful if you can explain to us what these functions do.

    Linux developers also use glibc (The GNU C Library) to do most Linux-specific things. It's a C library, but it is still usable under C++. You can find its documentation at:
    The GNU C Library
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Quote Originally Posted by Cabhan View Post
    Isn't Netbeans a Java IDE?
    It might be written in Java, but this does not mean it can only be used for Java programming Actually, there is even a stripped down version for those of us who do need C and C++ support only.
    NetBeans IDE - C/C++ features

    @LinuxExplorer81
    The first one does not seem to be a WinAPI function. I can't find it in MSDN so you have to give more information. Try to find its implementation on your Windows system.

    The second one is no command at all, but a double word member of a structure. COMSTAT Structure (Windows)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...