Post by LordPost by LordI'm using gcc 4.4 and studying a book by Robert Lafore which suggests
using msoftcon.h or borlacon.h for console graphics. What should I do?
Bad book. Change book.
Try a book that would suggest to use libvga or X (Qt, Gtk, whatever)
instead.
Thanks for prompt reply. But will using libvga result in a huge change
in my program. Since I'm a beginner can you suggest me a book where I
can learn these things?
If a function is not defined in a standard library, then it comes from
another library. If you cannot use that library on a given system, but
you have a similar, but different library to replace it, then you will
have to "translate" the function calls from the former library to the
later. For this, you need to understand what each specific function
call to that library means. You need to read the documentation of that
library and understand it. Then you need to read the documentation of
the new one, and understand it. Then you need to do a translation, like
when you translate French to English.
Otherwise, I'm not into books very much since at least 15 years. Why
don't you try this thing invented THIRTY years ago, probably long before
you were born, called the world wide web? There are search engines on
this www, which you can use to help you find informations, ebooks,
tutorials. A popular one is:
http://www.google.com/
Searching for: learn programming C linux vga
seems to bring interesting results...
You can also make a search with these keywords more specifically for
books with:
http://books.google.com/
--
__Pascal Bourguignon__