0

Which other programs has the similar coding structure?

Can we use the same structure for C, C++, C sharp

29th Mar 2018, 8:49 AM
Manoj
Manoj - avatar
5 Answers
+ 4
C can be used for embedded systems, drivers, firmware, OS, writing another language, and a lot of functionality that might be closer to the hardware. It can also be used for building console apps and other application types as well. C++ is an extension of C that brings object oriented programming support and makes coding in C much easier. C, by itself, requires a lot more code to do things that might be much simpler in other languages like Java/C#. C#/Java have a runtime / VM that provides memory management and is abstracted from the hardware. Languages like these are typically faster, easier, and safer to implement/develop. This is mostly due to the simplicity of the language constructs, offloading memory management to garbage collection, and a lot more benefits I won't have space to fit here. C#, in particular, is used for so much more than Windows Desktop GUI. With .NET Core, C# can now run natively on Mac and Linux. C# is also used by Xamarin for transpiling to native languages used by macOS, iOS, Android, and other systems. I've been building many RESTful APIs using WebAPI in C#, microservices, Windows Services, and console apps as well. In the past, I did quite a bit with ASP.NET MVC for web development. I now use JS frameworks on the browser to connect to RESTful APIs. The Unity3D Game engine also uses C# for building 2D/3D games for a variety of platforms.
30th Mar 2018, 5:22 AM
David Carroll
David Carroll - avatar
+ 3
C and C++ are very similar except C++ introduces classes. C# is more Java like
29th Mar 2018, 12:19 PM
「HAPPY TO HELP」
「HAPPY TO HELP」 - avatar
+ 3
No, new things have been introduced in each language. every library thats .h is C, others are C++ and C# is different. I personally use C++ for everything and rarely touch C# and people only use it to make Unity games
29th Mar 2018, 12:41 PM
「HAPPY TO HELP」
「HAPPY TO HELP」 - avatar
+ 3
advantages: c/c++ simpler and a bit faster (not noticably) c++/c classes, objects, C# easier windows gui
29th Mar 2018, 12:42 PM
「HAPPY TO HELP」
「HAPPY TO HELP」 - avatar
0
But all of these does the same function, Right. Which one is best preferred and advantages over the other
29th Mar 2018, 12:23 PM
Manoj
Manoj - avatar