Quantcast

Maximum PC

It is currently Tue Sep 23, 2014 4:23 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: C++ .NET your take?
PostPosted: Tue Jan 25, 2005 1:09 pm 
Little Foot
Little Foot

Joined: Wed Nov 10, 2004 7:28 am
Posts: 155
I'm working on learning how to use the .Net framework for C++ right now basiclly just for the hell of it while I look for a good book on the MFC. I was just wondering if you guys think the .Net framework applies well to C++. That is should i not bother with the book? I do like the built in string capabilities but otherwise it changes alot like how print lines. ok now im babaling I'll let you guys answer my original question.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jan 25, 2005 3:25 pm 
Team Member Top 100
Team Member Top 100

Joined: Fri Sep 17, 2004 5:35 pm
Posts: 1176
If you want .NET functionality with C-style syntax, use C#.

That's my take.


Top
  Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 6:22 am 
In the lab!
In the lab!
User avatar

Joined: Sun Jun 06, 2004 10:47 am
Posts: 831
Location: Secret Laboratory
c++.net is the future for programming on windows. While you will always be able to use other c++ tools/compilers if you plan to use Microsoft you might as well just learn it.

It might be handy to familarize yourself with MFC. If you go into a place where you need to manage old code there could be a chance you'll find yourself looking at code using MFC but don't bother really getting into the nitty gritty details.


Top
  Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 1:57 pm 
Team Member Top 100
Team Member Top 100

Joined: Fri Sep 17, 2004 5:35 pm
Posts: 1176
Well, C# has much more hubbub about it than C++ .NET. I'd say C# is really being pushed more than C++ .NET.

I've seen waaay more projects in C# .NET than in C++ .NET. Way more.

And MFC is pretty much dead. It never really got much support from the users because it is a nightmare to use.

EDIT: Damn those typos!


Last edited by Kybo_Ren on Wed Jan 26, 2005 8:56 pm, edited 1 time in total.

Top
  Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 8:49 pm 
Little Foot
Little Foot

Joined: Wed Nov 10, 2004 7:28 am
Posts: 155
Hmm. Thank you for the input. I've been waiting to reply to see what you guys said over a couple replys. I guess I'll continue to learn C++ .NET but also learn C# and C#.NET which I was planning anyway. Again Thank you


Top
  Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 1:31 pm 
Little Foot
Little Foot

Joined: Wed Nov 10, 2004 7:28 am
Posts: 155
Hmm im playing with some ideas with Console Applications (.NET) and its not adding the Press any key to continue... its just exiting automaticlly. Any idea how to correct this?


Top
  Profile  
 
 Post subject: Re: C++ .NET your take?
PostPosted: Thu Jan 27, 2005 4:14 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Mon Jun 14, 2004 4:04 pm
Posts: 985
Location: Earth
SirBob1701 wrote:
I'm working on learning how to use the .Net framework for C++ right now basiclly just for the hell of it while I look for a good book on the MFC. I was just wondering if you guys think the .Net framework applies well to C++. That is should i not bother with the book? I do like the built in string capabilities but otherwise it changes alot like how print lines. ok now im babaling I'll let you guys answer my original question.


C++.NET is kind of the bridge between old school MFC coding and .NET, but for anything .NET, C# and VB.NET definitely. I wrote code for C++.NET and it was NOT fun at all, C# is a by far easier and cleaner than C++.NET.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 4:32 pm 
Team Member Top 100
Team Member Top 100

Joined: Fri Sep 17, 2004 5:35 pm
Posts: 1176
Quote:
Hmm im playing with some ideas with Console Applications (.NET) and its not adding the Press any key to continue... its just exiting automaticlly. Any idea how to correct this?


std::cin.get();

or its equivalent in .NET


Top
  Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 4:49 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Mon Jun 14, 2004 4:04 pm
Posts: 985
Location: Earth
SirBob1701 wrote:
Hmm im playing with some ideas with Console Applications (.NET) and its not adding the Press any key to continue... its just exiting automaticlly. Any idea how to correct this?



You can add a console.readline() at the end.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Jan 27, 2005 5:04 pm 
Little Foot
Little Foot

Joined: Wed Nov 10, 2004 7:28 am
Posts: 155
DJSPIN80 wrote:
SirBob1701 wrote:
Hmm im playing with some ideas with Console Applications (.NET) and its not adding the Press any key to continue... its just exiting automaticlly. Any idea how to correct this?



You can add a console.readline() at the end.


thats true but i thought it was suppose to do it automaticlly


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group