🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
1 messages
1 total messages Started by kzyx Mon, 24 Dec 1990 19:25
Pointer Initialization
#7680
Author: kzyx
Date: Mon, 24 Dec 1990 19:25
28 lines
1052 bytes
       Hello there,

       What is the correct way to initialize a structure pointer to access
the hardware under ANSI (Aztec C 5.0d)


       say:
                #define ADDRESS (0xAAAAAAL) /* for the sake of example */

               struct myblitterstruct *myblitterpointer;

               main()
               $                       .
                                       .
                                       .
                       *myblitterpointer = ADDRESS; /* I get invalid
                                                       ptr/int conv... */

               

       Your help is extremely appreciated


       Thanks


       Edval
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