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

HW3 #420

Open
wants to merge 5 commits into
base: HW3
Choose a base branch
from
Open

HW3 #420

wants to merge 5 commits into from

Conversation

TuanTrain
Copy link

done with homeworks

// stay in bounds
new_label = old_label;
if ((x < w) && (y < h)) {
// CODE FOR PART 1 HERE
// We set new_label to the value of old_label, but you will need
// to adjust this for correctness.
new_label = old_label;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After parts 2 and 4, you should use buffer[buf_w * buf_y + buf_x] instead of old_label.

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

Successfully merging this pull request may close these issues.

3 participants