Date: Fri, 13 Sep 1996 01:25:09 -0700 (PDT) From: Samuel Vincent To: Takahiro Horie cc: djgpp AT delorie DOT com Subject: Re: 2 months and still can't get started. In-Reply-To: <51aio6$16d@dfw-ixnews2.ix.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 13 Sep 1996, Takahiro Horie wrote: > I don't mean to seem angry, but I am sort of upset because I got DJGPP > about 2 months ago and I still can't seem to understand how it works. > > Essentially, I've been programming with Turbo C++ for 2 1/2 years now. > I decided to try DJGPP because of the 32-bit/DPMI advantages it has. > Yet I have encountered a problem: My TC++ programs won't run! > > That part DIDN'T surprise me. The part that did was how I can't seem to > find ANY good texts on converting TC++ source code into working DJGPP > source code! If anyone can help, I would be very grateful. > > Also, are there ANY advantages of using Turbo C++ over DJGPP? So far, I > can't seem to find any (except for source code porting). > > Thanks very much in advance, > > takahiro AT ix DOT netcom DOT com > > ---------------------------------------------------- > Silicon Valley, California - Software Engineers Club The only different in constructing working C is in the different library functions, and that you are working in one large memory arena. Your near pointers are 32-bits wide and allow you access to all the memory in your program space. There is no such thing as a "far" pointer, but you may access memory outside your program space, such as the dos memory arena where the video card's memory is usually mapped to. To do this access, you use the functions/macros in ... That is the only different.. all other code should work perfectly. -Sam