News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Alien segfaults
Author Message

Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #1
RE: Alien segfaults

uhu indeed nice to know...
Now I've gotten a little further on in the ncurses intro, I noticed they recommend using getmaxx(scr) and getmaxy(scr) instead of directly accessing LINES and COLS.
With your example, I also saw the initscr() should return a pointer to the stdscr, which i did not know. Aparently when you call getmax.() without argument, it returns some insane number like 2078x1050...
But I'll need it anyway as it seems that there are sooooo much magic variables in ncurses.
Thx again.

01-11-2009 04:40 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Alien segfaults - jpjacobs - 01-09-2009, 01:41 AM
RE: Alien segfaults - jpjacobs - 01-09-2009, 06:06 AM
RE: Alien segfaults - Juergen - 01-10-2009, 10:36 AM
RE: Alien segfaults - jpjacobs - 01-10-2009, 10:06 PM
RE: Alien segfaults - Juergen - 01-11-2009, 03:05 AM
RE: Alien segfaults - jpjacobs - 01-11-2009 04:40 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: