🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Melissa Jackson Thu, 01 Oct 1998 00:00
typedef
#193
Author: Melissa Jackson
Date: Thu, 01 Oct 1998 00:00
7 lines
693 bytes
I am having difficulties with the typedef declaration.  I have
typedef LISTtype *LISTnode;
for my SLL.h file.  Is ther something wrong with this? How did anyone
else declare the type definition?

thanks
melissa
Re: typedef
#192
Author: spasm
Date: Thu, 01 Oct 1998 00:00
15 lines
923 bytes
Melissa Jackson wrote:

> I am having difficulties with the typedef declaration.  I have
> typedef LISTtype *LISTnode;
> for my SLL.h file.  Is ther something wrong with this? How did anyone
> else declare the type definition?
>
> thanks
> melissa

I used typdef LISTnode *LISTtype; in my SLL.h file. This worked fine for
me.

Chris Carlson
spasm@holly.colostate.edu
Re: typedef
#194
Author: Dave Bingham
Date: Thu, 01 Oct 1998 00:00
11 lines
821 bytes
The syntax should be typedef Listnode* LISTtype;

Melissa Jackson wrote:

> I am having difficulties with the typedef declaration.  I have
> typedef LISTtype *LISTnode;
> for my SLL.h file.  Is ther something wrong with this? How did anyone
> else declare the type definition?
>
> thanks
> melissa
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads