Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-02-2011, 08:25 PM   #2
Acero
Newbie
 
Acero's Avatar

 
Join Date: May 2009
Location: Olean, United States
Posts: 20
Default

C# is great and so much more time efficient. But I'll always have a special place in my heart for C++, there is something that just looks so elegant about how complicated it is.

Quote:
Originally Posted by Japo View Post
I found this funny and quite eloquent. In this MSDN walkthrough article there are alternative samples in different COM-aware languages. This is one of them in C#:

Code:
using System;
using SideBySideLib;

class Example
{
   static void Main()
   {
      var obj = new SideBySideClassClass();
      Console.WriteLine(obj.Version());
      Console.ReadLine();
   }
}
To do the same in C++ you have to (and thank God you have Visual Studio):



Wow.
Acero is offline                         Send a private message to Acero
Reply With Quote
 


Similar Threads
Thread Thread Starter Forum Replies Last Post
VERSUS articles red_avatar Abandoned Times 11 21-04-2009 02:55 AM
Swiss Versus Sean swiss Music, Art, Movies 107 28-08-2006 07:09 PM
Magic Versus Swiss - Round 2 swiss Music, Art, Movies 125 16-11-2005 12:56 PM
Magic Versus Swiss - Round 2 swiss Music, Art, Movies 46 09-11-2005 07:11 PM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 12:13 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.