3 Replies - 1474 Views - Last Post: 16 February 2012 - 09:22 PM

#1 Alyssa Saila  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 72
  • Joined: 07-January 12

Which Is Closer To This Type Of C++ (C# Or CLI)?

Posted 16 February 2012 - 07:15 AM

In my previous class we used the text book "Starting Out With C++ Early Objects (7th Edition)".

Here is a link to the book (to view the code within this book):
http://www.amazon.co...h/dp/0136077749

I've played around with both C# and CLI in Visual Studio, and I've gotten the hang of both.

I'm about to write a program, and I'm trying to decide which type of C I should write it in.

My question is which type of C++ is "more closely" related to the C++ taught from this course book?


Is This A Good Question/Topic? 0
  • +

Replies To: Which Is Closer To This Type Of C++ (C# Or CLI)?

#2 jimblumberg  Icon User is online

  • member icon


Reputation: 4232
  • View blog
  • Posts: 13,293
  • Joined: 25-December 09

Re: Which Is Closer To This Type Of C++ (C# Or CLI)?

Posted 16 February 2012 - 07:56 AM

I would say the book is using standard C++ which is neither C# or C++/CLI. I suggest either use this book to learn standard C++ or find another book that covers the language you want to learn. There are significant differences between each of these three languages and trying to use a book written for one language to write programs in one of the other languages is problematic.

Jim

This post has been edited by jimblumberg: 16 February 2012 - 08:13 AM

Was This Post Helpful? 0
  • +
  • -

#3 Alyssa Saila  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 72
  • Joined: 07-January 12

Re: Which Is Closer To This Type Of C++ (C# Or CLI)?

Posted 16 February 2012 - 07:38 PM

I have an excellent follow up question I'm hoping you could help me with..

What book would you personally recommend to me to learn all about C++/CLI?

A book that covers essentials and how to use it in conjunction with Visual Studio that is?

Was This Post Helpful? 0
  • +
  • -

#4 jimblumberg  Icon User is online

  • member icon


Reputation: 4232
  • View blog
  • Posts: 13,293
  • Joined: 25-December 09

Re: Which Is Closer To This Type Of C++ (C# Or CLI)?

Posted 16 February 2012 - 09:22 PM

I myself would not recommend C++/CLI, and I have no recommendations for any books on C++/CLI. I would recommend standard C++ or if you want a .net language C#. Visual Studio can be used for any of these languages, you must just select the proper project options when you create your project.

Jim

This post has been edited by jimblumberg: 16 February 2012 - 09:25 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1