I'm learning c++, and I was running into some issues. My brother suggested I ask ChatGPT. It told me, in no uncertain terms, how to solve my problem, but when trying the solutions, though, the compiler was of a different opinion.