Wrox Programmer Forums
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 26th, 2008, 03:38 AM
Authorized User
 
Join Date: Jan 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default c++/cli and c#

is there any significant difference between c++/cli and c# and i am not meaning some syntax differences.Or is there anything i can't do using c# but can do using c++/cli in a windows forms application if they are the same using c# would be simpler to type wouldnt it?

Reply With Quote
  #2 (permalink)  
Old February 28th, 2008, 03:06 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

From bottom up, it would, given off course you are conversant with C#, but your comfort level is not quite the same with C++. The difference? well, there are situations where a lot of mapping or porting is required, like in this problem

http://p2p.wrox.com/topic.asp?Search...40&whichpage=2

Here I'm working with Win32 APIs in C#, something you wouldn't wanna do, sort of a grease monkey's task, hard to keep things tidy. Porting the code which I had originally written in VC++, would be much easier if I was porting it to C++/CLI instead. Other than these few cases however, there seems to be hardly any other grounds where one wins over the other.

Its an interesting query though, do update the forum if you have more to say on this.

Regards
Ankur
Reply With Quote
  #3 (permalink)  
Old December 19th, 2011, 02:17 PM
Authorized User
 
Join Date: Oct 2011
Posts: 12
Thanks: 5
Thanked 0 Times in 0 Posts
Default

There is also no intellisense with C++/CLI, at least in Visual Studio 2010. However, I'm currently learning it because I want to learn C++/CLX for the Metro interface when Windows 8 is RTM and that's probebly the easiest way to do that right now.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Read an integer in C++/CLI meghaljani BOOK: Ivor Horton's Beginning Visual C++ 2005 1 June 16th, 2008 04:34 AM
C++/CLI to C# jsbsudha XML 1 November 19th, 2007 02:30 PM
c++/CLI dll for c# lavi C# 1 April 23rd, 2007 11:25 AM
PHP5 CGI or CLI? freddo Beginning PHP 2 August 15th, 2004 07:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.