Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http collect question #487

Open
jhyearsley opened this issue Nov 8, 2016 · 1 comment
Open

http collect question #487

jhyearsley opened this issue Nov 8, 2016 · 1 comment

Comments

@jhyearsley
Copy link

I have correctly solved the exercise but I am curious as to why the results of running the program look like this:

screen shot 2016-11-08 at 10 24 25 pm

I thought the program was printing two outputs to the console: the length of the string and the totality of the buffer. Here I see one output for the length of the string and then 2 outputs of strings followed by an empty string.

Is this output just due to the way the tutorial is testing our program? If not, either I'm visualizing what's going on incorrectly or I'm not understanding something. Might someone care to explain?

@AnshulMalik
Copy link
Contributor

Yes @jhyearsley .

The runner compares the output of your program with the expected one
ACTUAL is what your program generated and EXPECTED is which the correct solution generated.

Hope it clears your doubts :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants