Strait out of a book I am working on this and the compiler (Bloodshed Dev C++) will not accept it. The errors: 18 C:\Documents and Settings\Bill\My Documents\parrallel array.cpp `planet' undeclared (first use this function) 19 C:\Documents and Settings\Bill\My Documents\parrallel array.cpp `distance' undeclared (first use this function) 38 C:\Documents and Settings\Bill\My Documents\parrallel array.cpp expected primary-expression before '=' token Can anyone find the problem why it will not take 'planet' and 'distance'?? Thanks Code below. Code: #include <iostream.h> #include <string.h> #define length = 8 #define max = 9 #define TAB '\t' int main() { char planet[max][length]; int distance[max]; int index; //Initialize the two arrays strcpy(planet[0], "MERCURY" ); distance[0] = 58; strcpy(planet[1], "VENUS" ); distance[1] = 108; strcpy(planet[2], "EARTH" ); distance[2] = 150; strcpy(planet[3], "MARS" ); distance[3] = 228; strcpy(planet[4], "JUPITER" ); distance[4] = 778; strcpy(planet[5], "SATURN" ); distance[5] = 1427; strcpy(planet[6], "URANUS" ); distance[6] = 2869; strcpy(planet[7], "NEPTUNE" ); distance[7] = 4498; strcpy(planet[8], "PLUTO" ); distance[8] = 5900; cout << TAB << TAB << "PLANET" << TAB << TAB << "DISTANCE" << endl << endl; for(index = 0; index < max; index++) { cout << TAB << TAB <<planet[index]; cout << TAB << TAB <<distance[index] << endl; } cout << endl; cin.ignore(256, '\n'); cout << "Press ENTER to continue..." << endl; cin.get(); return 0; }