CS50 FILTER LESS | PROBLEM SET 4 | SOLUTION

preview_player
Показать описание
In this video, I walkthrough how to complete filter (less comfortable), a problem set from week 4.

I went through in detail so that beginners will be able to understand how to attempt and solve this practice problem.

Like and subscribe if you enjoyed this video, if you have any questions comment down below.
Рекомендации по теме
Комментарии
Автор

Great video! I found a solution for the blur function, but It ended up so big that I was sure there was a better way to write it.

ivantsukuda
Автор

Nice Work, Sajid!
I took a more complicated approach to do the reflect function, but after seeing this, i can't understand how i missed this.

SMD-kkud
Автор

Please Note; for the blur function ;on line 81; you need <=, >= not <, > to also include logic of the value returning 0 itself.

christianjohnson
Автор

i keep on getting an set but not used error in the gray scale function

sihlanganisonxumalo
Автор

I keep getting segmentation fault (core dumped). I have no idea where I could be l trying to access memory which I haven't allocated.

jakobee
Автор

for some reason for me, sepia runs fine however when i run check50 its all error messeages

e.telizondotavernier
Автор

sepia correctly filters single pixel
expected "56 50 39\n", not "56 51 39\n"
:( sepia correctly filters simple 3x3 image
expected "100 89 69\n100...", not "100 88 69\n100..."
:( sepia correctly filters more complex 3x3 image
expected "25 22 17\n66 5...", not "25 22 17\n66 5..."
:( sepia correctly filters 4x4 image
expected "25 22 17\n66 5...", not "25 22 17\n66 5..."

Everytime i try check 50 these errors are showing up, I include round ( ) but still these errors.... Please help me

Astronomer
Автор

Hi Sajid! any chance of getting your Instagram? thank!

hadilathmouni