Questions tagged [lesscomfortable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
94 views

PS4 Recover Segmentation Fault (Core Dumped)

Hope you got into the new year well and healthy! I get a segmentation fault (core dumped) if I want to run ./recover card.raw Anyone got any tips because I have checked it 100 times already. Valgrind ...
user avatar
  • 17
1 vote
1 answer
36 views

CS50 Pset4 Sepia

I have been working on PSET4 and understood the code and the tasks fine. But my compilation does not change the image and I cannot figure out why it will not work for the life of me. I have checked ...
user avatar
  • 17
0 votes
1 answer
33 views

Pset4 less comfortable compile error

When I try to compile my helpers.c file the compiler shows me clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow helpers.c -...
user avatar
0 votes
1 answer
35 views

I need a little help with resize less comfortable (Please!) - There's a bug in my program

Okay hi! So everything looks good, it's able to resize horizontally & vertically. For instance, when i set n as 4, the 3x3 pixel will be enlarged to However, when i set n to (2 or 3), the ...
user avatar
0 votes
1 answer
77 views

pset3 Resize - Invalid or unsupported Image Format

So i think i finished resizing horizontally but when i try to open the output image to check i get an error saying "Invalid or unsupported Image Format", I read other similar questions here and i ...
user avatar
0 votes
1 answer
416 views

MarioLess - declaration shadows a local variable error

Any suggestions on how to fix this error? "mario.c:10:14: error: declaration shadows a local variable" Code sample below. Thanks in advance! #include <cs50.h> #include <stdio.h> int ...
user avatar
0 votes
2 answers
548 views

pset4 speller all words are misspelled

I realize that many people have asked this question before but I didn't find my answer in any of them. Or maybe I'm just too stupid to see it. Anyways my code seems to work except that all the words ...
user avatar
0 votes
1 answer
140 views

Pset 1 Less comfortable - Number of Hashes

Sorry for the beginners's question. When I try to compile to following code for the Mario - Less Comfortable problem, I am printing the same number of hashes for each row and am unsure why. Code is ...
user avatar
0 votes
1 answer
240 views

cs50 mario less comfortable eof error

new to coding and working on my pset1. Program works great, but I get this EOF error. Thoughts? Here's my code #include <stdio.h> #include <cs50.h> int main(void) { // declares the ...
user avatar
0 votes
1 answer
103 views

Multiple errors on pset4 resize, less comfortable

I have multiple errors when using check50 and I am not sure why. I realize that multiple people already addressed similar error as mine, but I do not understand the explanations. I would appreciate if ...
user avatar
0 votes
1 answer
111 views

cs50 - I can not clear check pset1 Mario less cause "...required files...". I'm in the right directory.

The check50 is returning I have not created the file, which I see has been a problem others experienced, but all the solutions offered are to get into the correct directory. I am in the correct ...
user avatar
0 votes
1 answer
73 views

Resize.c (less) writing excess padding

I'm on Pset4's Resize (less comfortable), using the recopy method. When I plug in small.bmp and resize it with a scale factor of 2, I get a black block in the middle. With any higher scale factors, it ...
user avatar
0 votes
1 answer
80 views

Pset4 resize (less) Invalid file format

This pset has been super hard for me. I am trying to resize horizontally before I tackle vertical and I am able to compile and run the program but when I go to open the output file I get the error ...
user avatar
  • 21
0 votes
1 answer
76 views

For resize I don't know what is wrong with the code.. Why is fseek needed?

#include <stdio.h> #include <stdlib.h> #include <cs50.h> #include "bmp.h" int main(int argc, char *argv[]) { // ensure proper usage if (argc != 4) { fprintf(...
user avatar
0 votes
1 answer
32 views

When I enter input that is integer more than 23, the program stops. I think it is supposed continue prompting in this case. What's wrong?

#include <stdio.h> #include <cs50.h> int main(void) { int n; do { n = get_int("Height: "); } while (n<=0 || n>23); }
user avatar
0 votes
1 answer
51 views

Check50 for find-less in ps3 shows me a './sort' error

I implemented the helpers for sort and search. Using basic implementations of quicksort and binarysearch. When I ran check50 cs50/2017/x/find/less there was a weird error for the sorting part: :) ...
user avatar
  • 103
0 votes
1 answer
165 views

Pset 4: Resize (Less) Hint needed

Please could somebody give me a hint on my code for the Pset4 resize less comfortable. It seems to resize the image horizontally but Im having trouble making the vertical resizing. Im getting garbled ...
user avatar
0 votes
2 answers
177 views

pset 2 initials (less); "expected prompt for input, not output of..."

I've implemented the code for pset 2 initials (less) and it seems to be working, however, when I test it I get an error I'm struggling to understand. Any help would be greatly appreciated. Below is ...
user avatar
0 votes
1 answer
223 views

CS50 : pset4 resize(less comfortable)

I have worked on the code for 6 hour and finally on checking manually these codes are working fine. I have tried both small and large bmp from 1 to 6. It worked. But same is not working in check50. ...
user avatar
0 votes
1 answer
49 views

I can't seem to figure out what is wrong with my code. Please help!

I have reached a standstill :( Someone please help. Any and all help/feedback is appreciated! https://gist.github.com/noilddude/92cc9818ada70e169e99f1f1930c909a
user avatar
  • 7
0 votes
1 answer
665 views

pset3 find less comfortable helpers.c didn't found the needle!

bool search(int value, int values[], int n) { int left = 0, right = n - 1; // TODO: implement a searching algorithm while (n > 0) { int middle = (left + right) / 2; if (value == middle) ...
user avatar
  • 62
0 votes
1 answer
38 views

Need Help writing code in loops

the loops got me confused and i need some help so far this is what i've done http://i.imgur.com/9hmUBsw.png
user avatar
0 votes
1 answer
445 views

PSET4 Resize (Less)

I am having some trouble with the resize assignment. I've written the following code, when I execute it the output file does show increased size, however the colors are completely scattered (also non-...
user avatar
1 vote
1 answer
149 views

Built mario's pyramid but can't get pass the check50

I've been struggling for days trying to get my mario pyramids to pass the check but I can't seem to get it to work. // I will be declaring my variables here int Height; int space; int dash; // I'm ...
user avatar