You probably should declare myArray as extern in the header:
Then in main.c you define it:Code:extern char myArray[];
Code:char myArray[200];
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: Redefination problemThreaded View
|
Click Here to Expand Forum to Full Width |