If you don't follow directions, your tests will fail and so will you.
Output rectangles one per line with the format x1 y1
x
x2 y2.
THIS SI FINAL DISPLAY OF AN ARRAY { [ 1, 1 ] , [ 3, 3 ] } Level is : 0 Position is : 0 { [ 2, 2 ] , [ 4, 4 ] } Level is : 1 Position is : 0
(cerr)
.
void eat_white() { while (cin && isspace(cin.peek())) cin.ignore(); } void f() { while(cin && (cin.peek() != EOF)) { cin >> s; eat_white(); } }
char *temp = new char[5]; strcpy(temp,"<FONT"); char *temp2 = new char[5];
bool readInst(List *L, char *&inst, int noInst) { char * line = new char[80]; inst = new char[80]; strcpy(inst, "\0"); line = L->getNext(); if ( line == NULL ) { inst = NULL; return false; } // blah blah blah }
system()
.
system()
will be broken for testing.
This page last modified on 6 September 2001.