|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Using vars across multiple .c files
Alternatively, you could use pointers. Declare variables in main.c, declare pointers to them, and pass said pointers to the ProcessDatefrommasterUP and processdatafrommasterIO functions. Then pass them from there to whatever other functions you want to have access to those vars.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using eclipse | dasRatsel | Programming | 82 | 02-01-2006 13:20 |
| Multiple Files | EricWilliams | Programming | 4 | 30-03-2005 15:51 |
| Combining multiple objects in different files into the same scene and file? | DinkyDogg | 3D Animation and Competition | 8 | 19-02-2005 19:14 |
| problem with .c files | incognito_NICK | Programming | 5 | 31-01-2005 13:19 |
| Multiple files usage | punarhero | Programming | 2 | 12-01-2003 11:45 |