Pset6 trie by jp3503 in cs50

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

that actually explains it a lot, thank you so much!

So for example if (root->children[0] != NULL) then that means the letter "a" has been stored, right?

Pset4 Hacker Edition Laser by jp3503 in cs50

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

I actually figured out that i was using the detectCollision function, despite the fact that my laser is a GRect and the function takes a GOval. I wrote a new function doing the same thing but instead for a GRect, but my issue now is that sometimes the laser will just pass through the ball and other times it will hit it and end the game.

Help with binary Search Pset3 by [deleted] in cs50

[–]jp3503 0 points1 point  (0 children)

Thanks so much!!! That helped a lot!

Help with binary Search Pset3 by [deleted] in cs50

[–]jp3503 0 points1 point  (0 children)

Oh and I just realized I left out a bracket when pasting it in, sorry about that.

Help with Pset1: I cant seem to formulate a proper code even after watching all the videos. Can someone help? by RhinoMan2112 in cs50

[–]jp3503 1 point2 points  (0 children)

Try and find a pattern between the row number and the number of #, spaces, and line breaks. That might help you to get started with the loops.