I would guess you need to #include your header file into the one containing main.


#include <iostream>
#include "yourheaderhere.h"

int main()
{
int index = 0;
extern int arrayname[ 9...