The output screen tends to get a little cluttered, i tried the command
system("CLS")
But that doesnt seem to do the trick (when it runs it says it cant find CLS or something) is there any other ways to manage this?
None of those h files are working. When you say link with the proper library you mean put #include <lcurses> or something right? If not what should i do?
No. Linking is done by the linker. #include takes effect at the pre-compilation stage. Your IDE probably has a little box somewhere for you to type in libraries to link against.
If you are using Ubuntu I'm going to assume you're using Code::Blocks as your IDE. To link to a library go to "Project -> Build Options -> Linker Settings -> Add" Then navigate to the lib file you are trying to link.
The same library gets installed. You have to configure Geany to link against libcurses.
I don't know how to do that, but I suspect they do over here: http://www.geany.org/manual/current/index.html