C
C#2y ago
HLA

❔ 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
HLA
HLAOP2y ago
library.books isnt working and i dont know why
HimmDawg
HimmDawg2y ago
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 owo
Xan.Nava
Xan.Nava2y ago
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).
Tvde1
Tvde12y ago
what is the error?
Omnissiah
Omnissiah2y ago
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
HimmDawg
HimmDawg2y ago
Looks like chatgpt forgot about the method it created a couple of milliseconds ago fluffyFoxMhm
Buddy
Buddy2y ago
Isn't the point that you should write your own linear search algorithm?
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server