www.delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:2480 |
From: | cchoi AT ids2 DOT idsonline DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Novice question on pmode |
Date: | Thu, 04 Apr 1996 13:46:51 GMT |
Organization: | Capital Area Internet Service info AT cais DOT com 703-448-4470 |
Lines: | 15 |
Message-ID: | <4k38a7$mah@news.cais.com> |
NNTP-Posting-Host: | ip180.idsonline.com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I'm just new at djgpp so undoubtly I have many questions about it but unable to find the answers in either the faq nor other sources such as avly AT remus DOT rutgers DOT edu's tutors. The main question I have right now is about the memory organization of djgpp. I am wondering if I can use memcpy, memset and other memory related procedures in string.h or mem.h as if I would have used in Borland C++/Turbo C++. Also if I declare a large array: char buffer[64000] then can I access it as I were in real mode such as buffer[0]=0. I have compiled some graphics program I programmed under Turbo C++ and they did compile but when I linked and ran the program, the program spit out "page fault." Thanks in advance.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |