Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 26th, 2008, 03:38 AM
Authorized User
Join Date: Jan 2008
Location: , , .
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
Location: , , .
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

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


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.

Reply With Quote
  #3 (permalink)  
Old December 19th, 2011, 02:17 PM
Authorized User
Points: 50, Level: 1
Points: 50, Level: 1 Points: 50, Level: 1 Points: 50, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2011
Posts: 12
Thanks: 5
Thanked 0 Times in 0 Posts

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:03 PM.

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