ItsAnApe
  • Member for 4 years, 9 months
  • Last seen more than 4 years ago
PSET5: trie -> initializer element is not a compile-time constant
2 votes

Just to add to this, I don't think you need root to be the size of 27 nodes, just the size of one node. Moreover, each level of the trie ought to have space for 27 characters, more than that is a ...

View answer
Pset4 Resize Horizontal Not Working
Accepted answer
1 votes

I'm a little hesitant to offer any advice because I'm not so excellent at this stuff myself, but you're already making mistakes in your new header data calculations - that's certainly whats indicated ...

View answer
expected output not standard error
0 votes

Just reading the error message, I would go back and look at the specifications to double check and make sure the output you're supposed to provide when the element is not in the haystack is the same ...

View answer
Resizing small.bmp with n=4 gives an image with a black rectangle on the bottom left corner
0 votes

Kareem is probably right. Try using the 'peek' command to compare your solution with the staff's solution (explanation how to do it is somewhere in the guide/specification/testing section of the ...

View answer
pset5 speller load, please let me know if this makes sense
0 votes

I'll try and offer a couple of comments, but know that I'm probably on a similar level with you, so take my suggestions with a healthy dose of skepticism. I also chose to implement the tries data ...

View answer
Some comprehension questions now that I've fixed my code
0 votes

Sorry, I could have/should have written code to accompany my questions. This is abreviated, but includes all the relevant information: #typedef uint8_t BYTE; #define MBLOCK 512 char *buffer[MBLOCK]; ...

View answer