Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: starli22 on June 22, 2008, 07:20:55 am

Title: how to solve curses.h no such file or directory
Post by: starli22 on June 22, 2008, 07:20:55 am
  it's said that c::b is a excellent IDE.i downloaded it which is for windows.i want to write a simple graphics program.here is the problem:c::b respond that curses.h :no such file or directory
Title: Re: how to solve curses.h no such file or directory
Post by: MikeTacular on June 23, 2008, 01:04:06 am
Are you writing #include "curses.h" or #include <curses.h>?  If the former, make sure that curses.h is in the same directory as your project.  If the latter, add the correct search directory to the project.  Also make sure you are spelling it right.  I doubt it's a problem with Code::Blocks.