Questions tagged [wrongoutput]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Edge detection Program Gives Undesired Output

I have been struggling with the edge detection program. It produces weird output!!! The code is as given below: void edges(int height, int width, RGBTRIPLE image[height][width]) { float avgRedGx, ...
0
votes
1answer
62 views

PSET1 Cash - less comfortable - errors only for 0.41, 0.15

I hope you can help me with the PSET1 task - cash - less comfortable. Here is my code but I cannot figure out why - when testing the code - only 0.41 and 0.15 deliver wrong outputs (8 instead of 4 and ...
0
votes
1answer
189 views

Pset4 - Resize - Wrong colors

One more "Wrong colors" problem :) I tried to write my code according to Zamyla's pseudo: for each row for each pixel in row write to outfile n times write padding_outfile skip over ...
0
votes
1answer
109 views

Pset 1 Greedy - only wrong values at 1.6 and 0.15

I am stuck at pset 1 - greedy. I only receive a wrong output at the values 1.6 and 0.15. At both outputs the value is by one to high. :) greedy.c exists :) greedy.c compiles :) input of 0.41 yields ...