Aftab Ansari
  • Member for 1 year, 7 months
  • Last seen more than 1 year ago
pset4 filter grey scale error
1 votes

There's 2 problem with your code. 1st. Your height and width variables are switched (you assigned "i" to width and "j" to height then used image[i][j]) (this is reason behind the ...

View answer
Says that ./hello is a directory and error code when say clang -0 hello hello.c
Accepted answer
0 votes

Problem with your ./hello not working is that there is no hello program to run. There's a folder called hello in that location not a program. And about error in make CAN YOU SHARE THE ERROR CODE OR ...

View answer
pset 1 Question about difference between Mario and Cash (get_float get_n)
0 votes

In second case you probably named your function get_float name it something else and it will work without any problems. (and get_n isn't any function fron cs50 library)

View answer
pset 2 caesar -- bug that specifically lowercase letters with key more than 52 don't work -- everything else does
0 votes

Problem is in your else if statement you are using ciphertext[i] + key as a condition. Replacing ciphertext[i] + key with plaintext[i] + key should solve the problem.

View answer
PSET4 Filter (more) Edge
-1 votes

It was just a memory problem i guess. (i re-wrote all of it) it looks like this now; #include "helpers.h" #include <math.h> //float duplicate of RGBTRIPLE typedef struct { float ...

View answer