[EMAIL PROTECTED] wrote:
>
>Carlo Sogono writes:
>
>> I have a few questions about C programming under Linux:
>>
>> 1. where can I find info on how to use the include/hash files under > /usr/include
>? especially those that are NOT ANSI, like > /usr/src/linux/include ?
>
>If it's under /usr/src/linux, it's part of the kernel source. I can't see
>why you'd want to go there unless you're writing a device driver.
i've examined some advance c codes (and most i have to confess that i don't
understand...yet =) ) that has references to hash files under the kernel source
includes. so i just assumed that many linux programs use these includes.
>
>For other Unix/Linux/GNU specific functions, refer to the appropriate
>manpages. If you're looking for dead tree documentation, I'd recommend
>Stevens' Advanced Programming in the UNIX Environment (available locally as
>a reprint), or one of the O'Reilly unix/C programming books by David Curry.
does steven's advanced prog in unix focus on c? i hope to soon be able to write simple
client-server apps...you may know books that eventually lead to this kind of
programming.
thanks.
>
>> 2. what in the world is gcc/glibc's version of turbo c's gotoxy(x,y) to >
>reposition the cursor?
>
>There is no equivalent, since it's a DOS-ism. If you want to control the
>terminal, your best bet is to use a curses-compatible library (e.g.
>ncurses). I typically advise against it, however.
>
>Brian
>--
>Brian Baquiran
>[EMAIL PROTECTED]
>
>-
>Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
>To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
>
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]