Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!dsacg4.dsac.dla.mil!nol2321 From: nol2321@dsacg4.dsac.dla.mil (Jim Dunn) Newsgroups: comp.lang.c Subject: Re: ** help... Message-ID: <2415@dsacg4.dsac.dla.mil> Date: 22 Aug 90 15:08:01 GMT References: <2409@dsacg2.dsac.dla.mil> <1884@jura.tcom.stc.co.uk> Followup-To: jdunn@dsac.dla.mil Distribution: usa Organization: Defense Logistics Agency Systems Automation Center, Columbus Lines: 23 Well, I appreciate ALL the suggestions that everyone has made. You've truly opened my eyes to my own ignorance, actually you've opened my eyes to my typos... You see, I was typing the program in from reading a bad program listing. Most of the (int *)'s WERE (int)... So, now I've written a small sample demo program, using all the suggestions, and will explain my use... This **int matrix is for use with a direct screen write project. Instead of declaring a **char, I want to use a **int since the PC SCREEN is set up with an attribute byte and then an actual character byte. Such that: int **junk; junk[1][3] = (attr<<8) | chr; OK? I won't bother you with a net posting of the source samples, but if anyone would be interested in giving it a look see, please e-mail me and I'll ship you the source. It's a new implementation of Curses using direct screen write... Jim jdunn@dsac.dla.mil