Assignment 3 questions.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
Wed, 17 Jan 2001 19:01:09 -0500 (EST)


  For this sentence:

    "Your optimizer should accept the name of a pattern file on the command
    line and then read intermediate code from std-in;"

  Do you mean something like

    cl a.out pattern_file < intermediate_code

Yes.

  Then in my code, I open file "pattern_file" and read it. Also, I read
  "intermediate_code" from std-in.

Correct; you read pattern_file from a file that you open explicitly, and you
read intermediate_code from std::cin.



This archive was generated by hypermail 2.0b3 on Thu May 17 2001 - 12:00:05 EDT