Is it possible for me to download ceratin libraries?
I have the <curses.h> library included in my program but when i compile it (using dev c++) it doesnt recognise it. Where can i get it from? THankyou
Is it possible for me to download ceratin libraries?
I have the <curses.h> library included in my program but when i compile it (using dev c++) it doesnt recognise it. Where can i get it from? THankyou
Usually you have to link to it when you compile, assuming it's included. Otherwise, get a linux variant of your choice and install it.
Quzah.Code:gcc -o myprog myprog.c -lncurses
Hope is the first step on the road to disappointment.
cc -o myprog myprog.c -lncurses << thats what i use when im programming my program in UNIX but when i am at home i use dev c++ just wondered how i get the library for it?
It probably doesn't have it. The curses library is a *nix library. Since it isn't a standard ANSI library, it doesn't have to be included, or in this case ported, to other operating systems and compilers. This would be similar to trying to use the Windows API in linux.
Quzah.
Hope is the first step on the road to disappointment.
Ok thanks anyway.