1

How to use AAlib with C or C++?

view story
linux-howto

http://www.linuxquestions.org – How can I use the ascii art library aalib with c or c++ code. There is no concrete example. INFO programe explains few lines of code but I could not understand as this is not a complete example. I want to write a c code that will open an image file and convert it to an ascii image art. I think it is possible with aalib as it is written specially for this purpose. I have come to know what header file is required and what the linker flag (-laalib) but I need to know at least a simple complete example. Thank you. (HowTos)