Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
1
answer
57
views
Need help solving blur with c
Code:
void blur(int height, int width, RGBTRIPLE image[height][width])
{
//temporary image to swap
RGBTRIPLE temp_img[height][width];
for (int g = 0; g < height; g++)
{
for (int h = 0; h < width; …
0
votes
1
answer
199
views
I don't understand the error message I'm getting
.
// Blur image
void blur(int height, int width, RGBTRIPLE image[height][width])
{
RGBTRIPLE (*copy_image)[width] = calloc(height, width * sizeof(RGBTRIPLE)), avg_image[height][width];
for (int i = 0; …
0
votes
1
answer
101
views
My helpers doesn't pass check50
correctly filters middle pixel
expected "127 140 149\n", not "113 128 138\n"
:( blur correctly filters pixel on edge
expected "80 95 105\n", not "82 98 108\n"
:) blur correctly filters pixel in corner … :( blur correctly filters 3x3 image
expected "70 85 95\n80 9...", not "70 85 95\n82 9..."
:( blur correctly filters 4x4 image
expected "70 85 95\n80 9...", not "70 85 95\n82 9..." …