Skip to content

Page 608, code for sample() #42

@ntabris

Description

@ntabris

As the code is printed in the book, the result of sample is added to counts rather than result. The code in the repo is correct: https://github.com/JLospinoso/ccc/blob/master/chapter_18/sample.cpp#L19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions