Programming assignment 1 questions.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
(no date)


The readings on the syllabus shows chapters 1 to 3 and 19.1 to 19.3 and 19.10.
Does 19.1 to 19.3 and 19.10 refer to codes or sections?

  From the syllabus: "Sections 19.1 through 19.3 and 19.10".

Does test-cnt.o pass data for the ranks j q k as chars j q k or integers 11 12
13?

  The ranks are represented within the code as the integers 1 through 13 (aces
  low).

Is the data for suits passed in lowercase or it can also be in uppercase?

  Unspecified; be prepared for either case.

Linking my code with test-cnt.o and running the program gives me an apparently
endless scroll of numbers. Does this mean my code is wrong or should i wait for
scrolling to end?

  I'd have to see an example of the output to be sure, but I'm guessing that
  means you have errors in your code. If you link and execute with no
  messages, then your code passed all the tests. If your code fails a test,
  you get a message indicating which test failed and how. This assumes your
  code doesn't print any messages.

  I've changed the test code so it prints one error message of each kind and
  then bails. If you've made a copy of the test code you should make another
  copy; if you haven't made a copy, then I've forgotten something somewhere.



This archive was generated by hypermail 2.0b3 on Mon Aug 13 2001 - 15:00:04 EDT