Questions tagged [reflect]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

Pset4 Reflection Less Comfortable - Check50 Errors

Hello CS50 community, my question is about the reflection filter (less comfortable): I have compiled a code that is reflecting (YEAH!) but there seems to be the following errors when checking: *:) ...
0
votes
0answers
16 views

CS50 Reflect Pset4 Runtime error

my code for reflect is this void swap (RGBTRIPLE *a, RGBTRIPLE *b) { RGBTRIPLE temp=*a; *a=*b; *b=temp; } // Reflect image horizontally void reflect(int height, int width, RGBTRIPLE image[height][...
0
votes
0answers
39 views

Pset4 Filter/Less Reflect Not Working Properly

I tried this: // Reflect image horizontally void reflect(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE temp[height][width]; RGBTRIPLE reflection[height][width]; struct ...
0
votes
2answers
48 views

CS50 pset4 filter reflect issue

i am missing something here...but not sure what... it doesn't work on normal images... check50 passes for 1X2 and 1X3 images but fails for 3x3 and 4x4 images (so i guess it is an issue of iterating ...
0
votes
1answer
252 views

PSET4 Filter Reflect : No Reflection

Using Debug50, I can see that the RGB pixel values are appropriately swapped through. However the outfile is not actually reflected at all. The last comment section for the "fix" only seem to apply a ...
0
votes
1answer
81 views

PSET 4 Filters CS50

void reflect(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE temp[height][width]; for (int i = 0 ; i < height ; i++) { for (int j = 0 ; j < width ; j++...
0
votes
1answer
90 views

Reflection - Pset4 - Code compiles however, not producing expected outcome

I have the following code below. The code compiles correctly, but the resulting images is exactly the same as the one that was used as the input file. I have gone through each line multiple times and ...
0
votes
2answers
1k views

CS50_2020 Pset 4 Filter Reflect

I'm currently working on the reflect function, I'm going to include my code below [removed] What problem are you having? Describe the problem in detail. If appropriate, include any error messages, ...