2000Fall

Void printlnstring s prints a string followed by a

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: orCode = errorCode and -4; } } else { errorCode = -5; } return errorCode; }  G% $ ) $&, $%  6  0  $% % 5" > + %% $ 5&&0, ) +% % , 5&HB&  %I B&  +/&&B&  B& 5&*&%B&"  /% readFile { try { open the file; determine its size; allocate that much memory; read the file into memory; close the file; } catch (fileOpenFailed) { doSomething; } catch (sizeDeterminationFailed) { doSomething; } catch (memoryAllocationFailed) { doSomething; } catch (readFailed) { doSomething; } catch (fileCloseFailed) { doSomething; } }    3%.  (%   ;)&5 %...
View Full Document

Ask a homework question - tutors are online