❔ Help with building library application
I have a class project where im building a library. I am not good at this at all. I've used chatgpt to get the code i have but there are some parts i dont understand nor does it work. Please I need to graduate!
8 Replies
library.books isnt working and i dont know why
You can hover over
library.Books
with your mouse to see, what's wrong
Sidenote: Don't use ChatGPT if you don't understand the code that it is producing. It's a language model and therefore the answers it produces are just probably right It has been about 2/5 times right for me, often I have to tell it what it did wrong and then it will fix it.
But yes +1 to needing to know how to code actually. Do you have the repo up on github or anything for people to look it over with you?
Or is your teacher just having you zip the project for them(I never understood why teachers did this in college).
what is the error?
if library has SearchBook then it shouldn't have direct access to Books, and in fact it doesn't
we can see that currentUser has Books, but maybe it's not that the right one
Looks like chatgpt forgot about the method it created a couple of milliseconds ago
Isn't the point that you should write your own linear search algorithm?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.