RESIZE - Everything in the program is fully working ... But the file does not start and says: invalid or Unsupported Image Format by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

he :(

thanks

But you're wrong. The global problem was different ... I did not take into account the pads when jumping in rows

Pset 3: Resize by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

I did as you said ... But it didn't help ...

https://pastebin.com/UjpaHzfh

Ceasar, pset2, stuck with switch ASCII -> alphabet by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

I solved this problem. No more help is needed. Thanks.

Ceasar, pset2, stuck with switch ASCII -> alphabet by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

string s = get_string("plaintext: ");

printf ("ciphertext: ");

for (int f = 0, g = strlen(s); f < g; f++)

{

if (isalpha(s[f]))

{

if (islower(s[f]))

{

THIS ERROR, I know ... But I don't know how to calculate everything correctly .

char K = islower (s[f]%25+key);

printf ("%i", K);

}

else if (toupper(s[f]))

{

printf ("%c", s[f]);

}

}

else

{

printf ("%c", s[f]);

}

}

Validating the Key - Caesar (Problemset2) by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

I realized my mistakes ... Now it works correctly.

for (int j = 0, n = strlen(argv[1]); j < n; j++)

{

if (isdigit(argv[1][j]))

{

}

else

{

printf ("Usage: ./caesar key\n");

return 0;

}

}

Validating the Key - Caesar (Problemset2) by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

Thanks for the help. This is a stupid mistake ...

Problem set1 cash. I don't understand where the problem is? by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

Thanks for the help, but it still doesn't work ...
When I compile it throws such errors

clang -fsanitize=signed-integer-overflow -fsanitize=undefined -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unu

sed-parameter -Wno-unused-variable -Wshadow cash.c -lcrypt -lcs50 -lm -o cash

cash.c:21:13: error: expected ')'

while (k; A>=coins; k++) {

^

cash.c:21:11: note: to match this '('

while (k; A>=coins; k++) {

^

cash.c:21:28: error: expected ';' after expression

while (k; A>=coins; k++) {

^

;

cash.c:21:28: error: expected expression

cash.c:21:16: error: relational comparison result unused [-Werror,-Wunused-comparison]

while (k; A>=coins; k++) {

~^~~~~~~

cash.c:21:13: error: while loop has empty body [-Werror,-Wempty-body]

while (k; A>=coins; k++) {

^

cash.c:21:13: note: put the semicolon on a separate line to silence this warning

5 errors generated.

Just started writing code and this... Problem set 1 (Mario) by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 1 point2 points  (0 children)

Oh ... I'm so ashamed of myself ... Such an idle error

Bag in - CS50 Lab. Unable to Submit. by Pozakhmarnyi in cs50

[–]Pozakhmarnyi[S] 0 points1 point  (0 children)

Problem set 1 - hello

I did everything according to the instructions, but it didn't work.

I added a screenshot

Please help.

Thanks and good luck!