delorie.com/archives/browse.cgi | search |
From: | "Robert ARSENIUK" <roberta AT jmpolska DOT com> |
To: | <djgpp AT delorie DOT com> |
Subject: | Odp: i've just started using Djgpp and.... |
Date: | Wed, 17 Feb 1999 15:52:56 +0100 |
Message-ID: | <01be5a85$342458a0$0113010a@robi1.jmpolska.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 4.71.1712.3 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.71.1712.3 |
Reply-To: | djgpp AT delorie DOT com |
>Hello folks, >i'm new to using DJGPP and have found a little problem. > >earlier i wrote a text screen designer using borland c++ v3 for dos > >and i've now come to use it with DJGPP...i found that it didn't like headers >like 'alloc.h' etc > >how can i get around this sort of problem ? > >TIA > > If you are using functions like malloc, calloc e.t.c., include memory.h You can do it like this : #if defined( BORLANDC ) #include <alloc.h> #else #include <memory.h> #endif Robert
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |