Discussion:
A4Q1 OutputTable whitespacing
(too old to reply)
acchow
2011-10-30 17:36:36 UTC
Permalink
The assignment says "Note that there is only one white space between two
numbers, and no white space at the end"

But there should be a newline (\n or std::endl) character at the end,
correct?

Also, after Search prints out "true" or "false", there should also be a
newline character, correct?

Will automark be checking placement of newline characters?
cs240
2011-10-30 18:31:47 UTC
Permalink
Yes, there should be a new line character at the end of your output. A
test case will be provided later to help you compare your output with the
sample solution.

Vivian
CS240 Tutor
Post by acchow
The assignment says "Note that there is only one white space between two
numbers, and no white space at the end"
But there should be a newline (\n or std::endl) character at the end,
correct?
Also, after Search prints out "true" or "false", there should also be a
newline character, correct?
Will automark be checking placement of newline characters?
acchow
2011-11-02 07:10:28 UTC
Permalink
Where can we find this test case?
Post by cs240
Yes, there should be a new line character at the end of your output. A
test case will be provided later to help you compare your output with
the sample solution.
Vivian
CS240 Tutor
Post by acchow
The assignment says "Note that there is only one white space between
two numbers, and no white space at the end"
But there should be a newline (\n or std::endl) character at the end,
correct?
Also, after Search prints out "true" or "false", there should also be
a newline character, correct?
Will automark be checking placement of newline characters?
cs240
2011-11-02 12:52:04 UTC
Permalink
There will be an announcement once it's posted.

Vivian
Post by acchow
Where can we find this test case?
Post by cs240
Yes, there should be a new line character at the end of your output. A
test case will be provided later to help you compare your output with
the sample solution.
Vivian
CS240 Tutor
Post by acchow
The assignment says "Note that there is only one white space between
two numbers, and no white space at the end"
But there should be a newline (\n or std::endl) character at the end,
correct?
Also, after Search prints out "true" or "false", there should also be
a newline character, correct?
Will automark be checking placement of newline characters?
Loading...