Would you use C# or C++ for a new project?

Would you use C# or C++ for a new project?

oransen
Collaborator Collaborator
1,202 Views
3 Replies
Message 1 of 4

Would you use C# or C++ for a new project?

oransen
Collaborator
Collaborator

If you have a new project to do which does not require a presumable speed/memory advantage of C++ over C#, would you use C# or C++?

 

I don't think the project requires any advanced processing which C++ could give, so I'm tempted by C#, even though I have a lot of support functions written for my Inventor in C++ book.

 

Hmmmm.

0 Likes
Accepted solutions (1)
1,203 Views
3 Replies
Replies (3)
Message 2 of 4

pball
Mentor
Mentor
Accepted solution

Of the two listed I'd go with C#. Assuming this is for an Inventor related project, finding examples and documentation in C# is more likely.

 

Though personally I use VB since most of the official API examples are in VB. That and a large portion of the code posted on the forums is either VBA macro code, iLogic code (based on VB), or straight VB code.

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
Message 3 of 4

oransen
Collaborator
Collaborator

"finding examples and documentation in C# is more likely"

 

Apart from what I wrote myself:

 

Inventor Programming in C++ 

 

But I agree with you

Message 4 of 4

floccipier
Advocate
Advocate
http://www.ransensoftware.com/Inventor-CPP/

Thanks for this, have been using your work for reference and learning for so long.