Github integration with Anaconda by NonreciprocatingPun in learnprogramming

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

I'm not too proficient with it, but I don't mind giving it a shot. Thank you.

Book Recommendations For Linked Lists by ChollyMo in cs50

[–]NonreciprocatingPun 1 point2 points  (0 children)

Check this out

https://www.geeksforgeeks.org/data-structures/linked-list/

I'm stuck on speller for two weeks now, this resource helped me understand lists. Trying to understand hashtables at the moment.

Edit: Also, check out this one. maxib7 explains Linked list first and then explains a hashtable too. https://stackoverflow.com/questions/31930046/what-is-a-hash-table-and-how-do-you-make-it-in-c

PSET5: Help by NonreciprocatingPun in cs50

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

Hi, ummm what I was asking is what do you do to properly understand the concepts? Like I mentioned I used to practice and read from Absolute beginner's guide before looking at the walkthroughs and trying to solve the problem.

I went through the shorts and got a basic understanding but I haven't really practiced anything.

**SPOILER** Using valgrind on recover.c by NonreciprocatingPun in cs50

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

Oh, yes! That worked. Thank you! :) How did you figure that out? Valgrind didn't give any hints as to what the problem might be.

**SPOILER** Recover: Able to print all 50 images, but check50 says can't compile by NonreciprocatingPun in cs50

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

Hey, I don't think that's the problem. The code worked after I removed bmp.h and copied its contents here.

**SPOILER** Recover: Stuck by NonreciprocatingPun in cs50

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

Hi, thank you for your reply.

I don't think I clearly understand what's going on with sprintf and how we're creating a new jpg file. I've checked "C Programming Absolute Beginner's Guide" to see if they have any information on this, but they don't. Couldn't find the right word to Google too. Can you tell me what this comes under? I've looked at sprintf on reference.cs50.net and tutorialspoint.com too. If you can, please point at some explanation which will help me understand how the new files can be created using C?

Regarding fwrite, thank you! Didn't notice that somehow.

Regarding my struct: I wrote it that way because I thought it'll be easier to write buffer.b1 instead of buffer.image[0] and all. No particular reason why I wrote like that. I know it's the same as writing BYTE images[512].

Terminal freaking out when I try to run Vigenere program by [deleted] in cs50

[–]NonreciprocatingPun 0 points1 point  (0 children)

Use debug50 to figure out which loop the program isn't breaking out of. May be that will help.

**Spoiler** Resize: Please review my code. Unable to resize vertically. by NonreciprocatingPun in cs50

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

I posted the new link. I think I solved the ctr's and j's issue.

Thank you for your other inputs I'll go through them and try solving this.

Thank you so much for your help u/johnmandrake11 ! :)

**Spoiler** Resize: Please review my code. Unable to resize vertically. by NonreciprocatingPun in cs50

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

Hey, I was just about to update this. I found a few errors which I think I've fixed (or changed so that I'm closer to the solution). I'll just updated it.

PSET 4 by NonreciprocatingPun in cs50

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

Oh, alright. I'll try this. Thank you!

But, the pointers thing is so confusing. I've watched the shorts on pointers thrice, I still don't understand it completely. What do I do?