|
-
Aug 4th, 2005, 03:23 AM
#1
Thread Starter
Hyperactive Member
c# or c++?
I am not a great C++ programmer and am on a project that requires us to interface with a C API... I am managing OK at the moment with C++... Would it be much of a jump to move to C#? (i.e. including learning the .NET framework etc etc...) The application that we want to create in the end would ideally be very light as well... and may choose to port over to linux at some point... would changing to C# complicate the porting task later on?
Any light shed on the subject would be great!
Thanks
-
Aug 4th, 2005, 04:00 AM
#2
Re: c# or c++?
You can use C# in linux too, the problem would be to port the C API you have. Hope you have the source code for it, so you can compile it in Linux.
C# is easier then C++, it hides a lot of the difficult stuff for you, so you don't have to think about it as often as you do in C++. But C# has kept most of it like pointers for compability with C/C++. So you can use it if you need it. And I guess you are going to need it if you are using a C API (even if I am not sure, since I havn't see it). So then again, it won't be that much easier then C++, but then again, it depends on how much you are using the API compared to other stuff you are doing in the app. The "other stuff" is probably going to be much easier then in C++.
- ØØ -
-
Aug 4th, 2005, 04:43 AM
#3
Thread Starter
Hyperactive Member
Re: c# or c++?
NoteMe,
I think I will stick with the C++ for the moment. The app. I have to create will need to talk to the C API quite often and the requirement to do general app stuff (e.g. databases/UI/going over network) is not that great 
Thanks for the advice and information Will have to get to grips with .NET after this I think.
Cheers!
-
Aug 4th, 2005, 10:28 AM
#4
Re: c# or c++?
No problem, just happy to help you out...
- ØØ -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|