+ 5

What's the primary difference between C, C#, C+, and C++?

20th Jun 2017, 9:49 PM
David Schmidt
David Schmidt - avatar
5 ответов
+ 14
C is an action-oriented or procedural language. It uses the goto keyword and labels to control how code runs. C+ is not a thing. C++ is a superset of C - it has everything C does, plus object-orientation. The name adds the incrementor (++) operator to C, because C++ "one-ups" C. Both C and C++, being close to assembly language, are very powerful languages that can manipulate specific locations of memory at the bit level. They're used for largescale systems, and video games. C# is functionally almost entirely unrelated to C and C++, and is more similar to Java, with namespaces that serve as packages, the using keyword for imports, and other things. It's much higher-level (lacks pointers, string type is built in, etc.). The # is two ++ symbols stacked on top of each other (I guess it "one-ups" C++). C# is built for smaller projects and systems, and focuses on ease of use and readability.
20th Jun 2017, 10:15 PM
Tamra
Tamra - avatar
+ 6
@David Do not forget C--. https://en.m.wikipedia.org/wiki/C--
20th Jun 2017, 11:59 PM
Manual
Manual - avatar
+ 6
First off, start working on something by far smaller and simpler than that! At least to become familiar with developing projects. ^_^; btw I'm no expert so hopefully I don't sound like a complete idiot. Both C# and C++ can be used for both client and server (other languages usually go into the process, though, like Python, Ruby, PHP, and others, especially for server). C++ is more commonly used, probably since you can more precisely manipulate memory for performance (very important for big projects on a multitude of comps with differing specs).
21st Jun 2017, 2:17 AM
Tamra
Tamra - avatar
+ 3
Thanks again! I do have some experience with small development projects using Python and have a good handle on it. I heard however that C and it's variants would handle client/server interactions and rapid communications between the two much more smoothly and faster. Python thus would be far too slow on It's own to handle such a project and instead of using C++ modules in critical operations I figured writing everything in it would make everything run smoother and interact quicker. but maybe my research is wrong. I'm totally open to input and hope I don't sound too ambitious. I understand it is a huge project but I'm down for years of coding and months of research, also I have a small team willing to help however possible.
21st Jun 2017, 2:35 AM
David Schmidt
David Schmidt - avatar
+ 1
Thanks a lot. You've cleared up quite a bit already, but for a 2d online mmorpg would you recommend C# or C++ as being the best bet? I've got a lot of great ideas and don't want to be limited by language
21st Jun 2017, 1:26 AM
David Schmidt
David Schmidt - avatar