C# or N8IV VC++ API
Author |
Message |
QuantumPhysics
|
Posted: Mon Sep 10, 2012 12:21 pm Post subject: C# or N8IV VC++ API |
|
|
Is it really worth learning N8IV API for GUI programming and connection to wifi systems. Like what are the benefits and disadvantages rather that just doing C# with the GUI given to you and all you really have to write is the code for each drag and dropped panel. Instead of actually making each button and reference to memory and system callbacks and hWnd procedures and all that. What is more better in the long run? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
mirhagk
|
Posted: Mon Sep 10, 2012 2:06 pm Post subject: RE:C# or N8IV VC++ API |
|
|
C# is much easier to use and maintain for most people, so long term I'd suggest going with whatever is the easiest to maintain. There could be a performance issue with using C# instead of C++, but realistically you'll never notice it. |
|
|
|
|
|
QuantumPhysics
|
Posted: Tue Sep 11, 2012 7:40 am Post subject: RE:C# or N8IV VC++ API |
|
|
So really C++ is just harder to use than C# in this case? It does not bring ANY benefits over C#? |
|
|
|
|
|
mirhagk
|
Posted: Tue Sep 11, 2012 8:45 am Post subject: RE:C# or N8IV VC++ API |
|
|
It does have benefits, it's a more low level language, and there is lots of older C++ code that'd be hard to convert. Of course you can link C++ libraries into C#, but it takes a little more work.
Basically if you want to support a lot of older systems than you might want to go with C++ since C++ has a compiler for nearly every system in the world (doesn't mean your code will still compile however, especially with using VC++'s API).
C# was basically designed to use the good parts of C++, the syntax, the OOP and remove what the designers thought was bad, mainly that binaries only work on a single system (requiring users to compile, which is never pretty) along with lots of syntax issues.
I'm sure there are many here that'd strike down C# and call it evil since microsoft is the biggest supporter of it, and those that live and swear by C++, but C# is a great language, which supports multiple paradigms, lambdas (code blocks in other languages) in-line SQL, and with Mono is cross-platform to LOTS of systems. |
|
|
|
|
|
QuantumPhysics
|
Posted: Tue Sep 18, 2012 11:02 pm Post subject: RE:C# or N8IV VC++ API |
|
|
Well thank you for the great answer, I have gained lots of knowledge, thanks a lot! |
|
|
|
|
|
|
|