Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VC++ and C#
Message
From
26/07/2001 04:07:54
 
 
To
26/07/2001 00:27:25
General information
Forum:
Visual C++
Category:
Other
Title:
Miscellaneous
Thread ID:
00535524
Message ID:
00535556
Views:
26
Winan,

There are a lot of differences, if I had to choose the most important it would be these:-

1] Grammar - C++ and C# have different language grammars, C# is based on the C++ language but its not C++ for example look at the difference between these examples.

C++ Example
#include "iostream"                 

using namespace std;

void main(void)
{
   cout << "Hello from Visual C++";
}
C# Example
using System;

class Sample {
   public static void Main()
   {
   Console.WriteLine("Hello from C#");
   }
}
Previous
Reply
Map
View

Click here to load this message in the networking platform