Thread: Microsoft Visual C++ & <curses.h>

  1. #1
    Registered User
    Join Date
    Oct 2005

    Microsoft Visual C++ & <curses.h>


    I am working on my PhD project and have came across the following problem and I just need a little advice.

    I am writing (modifying if I tell the truth) a genetic algorithm code in C++. The code was originally designed to run on a UNIX machine, and I need it to be compatible to run on a windows based machine, hence why I am using Visual C++.

    On downloading the files from the UNIX machine to my windows machine I thought everything had gone well, but when I tried to run the main program, I recieved an error message saying:

    fatal error C1083: Cannot open include file: "curses.h": No such file or directory.

    I know curses.h is a UNIXlibrary of functions for controlling a terminals video display screen from the C program but is there a header file analagous to it in Windows based programming or is it possible for me to download this header file and use it that way?


    Alan Homer

  2. #2
    Bioport Productions
    Join Date
    Oct 2005
    Hello Alan,
    If you want your program to output text to a console type environment, iostream.h comes with a lot of useful functions for input/output. Other than that, you will have to say what you want it to do, unless someone else is familiar with curses.h.
    -"What we wish, we readily believe, and what we ourselves think, we imagine others think also."
    PHP Code:

  3. #3
    Registered User
    Join Date
    Aug 2005

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM