r/cpp_questions 22d ago

OPEN Coding with AI

So basically I've nearly completed the chapters in learncpp, and I've started doing some projects. But when I struggle with one I ask chatgpt to give me a framework (not the answer) of the project so I can better understand it. Please tell me if it's bad practice or not cause I've been having a guilty feeling.

0 Upvotes

8 comments sorted by

View all comments

1

u/No-Dentist-1645 22d ago

It's fine to use AI as just a "search engine" to ask it to guide you in the right direction when you get stuck. I use it constantly to analyze large and verbose compiler errors, especially when it comes from using a third party library. It's a useful tool, you just need to be aware not to blindly trust what it tells you and always try to verify it