i know c++ and java i was wondering whether c# and vc++ is much different from it.
Four answers:
Tech
2013-06-18 09:44:56 UTC
there are some difference given bellow:
1. The long type: In C#, the long data type is 64 bits, while in C++, it is 32 bits.
2. Arrays: The syntax of declaring C# arrays is different from that of C++ arrays. The tokens "[]" appear following the array type in C#.
3. The switch statement: Unlike the C++ switch statement, C# does not support fall through from one case label to another.
4. C# operators: C# supports additional operators such as is and typeof. It also introduces different functionality of some logical operators.
tumbleweed_biff
2013-06-18 07:15:03 UTC
Visual C++ uses the Microsoft Visual Studio IDE for development, bringing some graphical advantages to doing software development, among other things. It is a Microsoft product and functions as they dictate. C# was the language Microsoft came up with when the courts told them they couldn't try to hijack Java and turn it into a platform dependent product under the Microsoft dictatorship. It has arguable advantages and is an integral part of the dotNet platform. I don't recall for certain, but I believe it is object oriented, like Java where C++ and VC++ were developed into something which could be used in OO development.
Ben
2013-06-18 07:12:58 UTC
C++ is a language standard, published by the International Standards Organization. Visual C++ is the C++ compiler implemented by Microsoft. It includes a few features not part of the standard, but for the most part is just C++03 with a few of the C++11 features added.
C# is a language created by Microsoft. It's a lot closer to Java than it is to C++, although it includes a few features like operator overloading that are present in C++ but not Java.
Donald Trump for President 2020
2013-06-18 08:25:01 UTC
c++ is a c that has 2 +s after the c, vc++ is c++ with v before it, while c# is c with a # after it.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.