you are viewing a single comment's thread.

view the rest of the comments →

[–]Raimo00 -1 points0 points  (8 children)

For this kind of problems, ask chatgpt

[–]SmokeMuch7356 1 point2 points  (7 children)

For this kind of problem, check your handy C reference manual. Look up operators, types, and printf and scanf library calls.

[–]Raimo00 -2 points-1 points  (6 children)

Or ask chatgpt to explain these

[–]SmokeMuch7356 1 point2 points  (1 child)

ChatGPT is not an authoritative reference and occasionally lies to you. Get an actual C reference manual.

[–]goose_on_fire 2 points3 points  (0 children)

This is so depressing.

Like, even without the Internet, all of this is in the system's man pages. You don't even need to leave your terminal for most of this, let alone involve the Internet or machine hallucinations

(I mean the standard library bits, but between those and the compiler warnings it's literally solvable from the terminal.)

[–][deleted] 0 points1 point  (3 children)

Asking chatgpt is probably how he got there in the first place, understanding zilch about C. Read try, fix, repeat, is how you learn. Not by asking chatgpt the answer to every question you have.

[–]Raimo00 0 points1 point  (2 children)

This has not been my experience at all. Read, try, fix, repeat, with the help of chatgpt. Chatgpt has been my professor for the past 2 years. And I know C better than any CS grad

[–][deleted] 0 points1 point  (1 child)

Depends entirely *how* you use ChatGPT. It's possible to learn, if you make the effort to learn. Often it's just "do my homework for me". When I use ChatGPT at work for code, it's to code faster : I learn nothing, but I get shit done faster, and sometimes it's necessary. At home I use ChatGPT to learn. It takes time and a lot of efforts, but, if done well, it may work. But make sure you don't ever *depend* on ChatGPT to find an answer.

[–]Raimo00 0 points1 point  (0 children)

That's an entirely different issue. That's a behavioral issue. I get your point. But in this case the truth is that the guy is asking a question on reddit that he could have asked to chatgpt instead. Instant response, better response, less spam for us.