12 Replies
You could ask GPT to convert C code snippets to C++
What does it have to do with C#?
isn't C++ a superset of C
please do not
I think you might be looking for $cpp
We're partnered with Together C & C++, check them out here: https://discord.gg/vnyVmAE
Stack Overflow
What can be done in c but not c++?
What are the things that can be done in C but not in C++, and which of these features do you miss the most while coding in C++?
Few things I can think of:
We can assign any type of pointer to void
interesting
Why ? Isn't GPT good to understand the context and give advices on top of converting a code snippet, it's not as good as a professional that knows the languages perfectly but it can help a beginner
gpt is actually often doing more harm than good. The way GPT and similar "AIs" work is that they simply return a text response to a text answer. but they don't understand the question or the answer itself. It just generates text that is deemed "probably statistically correct", and thus it returns it.
So very often it'll sneak in incorrect text and it'll be disguised in the answer, because the correctness isn't a part of what GPT is meant to do. It just responds in a manner similar to the data it is trained on.
And in the case of beginners, you need trustworthy info sources while you learn.
Imagine if your teacher taught you 15% wrong at university and did so while having 100% confidence while teaching.
ChatGPT is a socalled "Large Language Model" which means it takes an input argument in the form of text, and compares it to its training data (which is many terabytes of text), and generates something that is similar to its training data, and returns it. That's all it does. There is no understanding of the actual data, it's just letters and symbols and statistics.
Basically, it's a hilariously expensive auto-complete-bot. Treat it as such.
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.