✅ Converting project

Is there any way to convert a c project to c++?
12 Replies
Kippachu
Kippachu2y ago
You could ask GPT to convert C code snippets to C++
Angius
Angius2y ago
What does it have to do with C#?
Henkypenky
Henkypenky2y ago
satisfactionsharp
Jimmacle
Jimmacle2y ago
isn't C++ a superset of C PepeHmmm
jcotton42
jcotton422y ago
please do not I think you might be looking for $cpp
MODiX
MODiX2y ago
We're partnered with Together C & C++, check them out here: https://discord.gg/vnyVmAE
jcotton42
jcotton422y ago
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
Jimmacle
Jimmacle2y ago
interesting
Kippachu
Kippachu2y ago
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
Esa
Esa2y ago
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.
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