✅ Converting project

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