Mail Archives: djgpp/1998/05/25/09:48:58
From: | Victor Viudez Gonzalez <e6684473 AT est DOT fib DOT upc DOT es>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | I'm a Newbie with DJGPP!
|
Date: | Mon, 25 May 1998 15:41:19 +0200
|
Organization: | Universitat Politecnica de Catalunya
|
Lines: | 69
|
Message-ID: | <356974FF.D01A46C@est.fib.upc.es>
|
NNTP-Posting-Host: | upcremot63.upc.es
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
--------------88CF11CA8C3A18738BB2E47A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sorry guys, but I'm a newbie using DJGPP, and I have a little problem.
That's it:
I have a file.h like this:
typedef struct TAD{
int code;
struct TAD next;
struct TAD prior;
.
.
}Tad;
Ok, now I would use this new structure in my program... I
write an
#include "file.h", right. But the gcc compiler says that typedef
struct is not valid.
How I can define a new type?????
Thanks a lot!!
PS.: Ah! I use Rhide!
--------------88CF11CA8C3A18738BB2E47A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Sorry guys, but I'm a newbie using DJGPP, and I have a little problem.
That's it:
<P> I have a file.h like
this:
<P>
typedef struct TAD{
<BR>
int code;
<BR>
struct TAD next;
<BR>
struct TAD prior;
<BR>
.
<BR>
.
<BR>
}Tad;
<P> Ok, now
I would use this new structure in my program... I write an
<BR> #include "file.h", right. But the gcc
compiler says that <B>typedef struct </B>is not valid.
<P> How
I can define a new type?????
<P>Thanks a lot!!
<P>PS.: Ah! I use Rhide!</HTML>
--------------88CF11CA8C3A18738BB2E47A--
- Raw text -