Nilhanth Posted March 18, 2005 Posted March 18, 2005 Hi all I am currently programming in Visual Basic 6.0 and I wish to start programming in VC++ .NET aswell, but I am clueless as to where to start!?! I have absolutely no knowledge of the C++ language. I've tried loads of beginner tutorials to get started but I haven't had any success.......even the "Hello World" tutorials seem mind-boggling to me!!! What were everyone's methods of learning C++ .NET from scratch? Did you use books (if so, which ones?), website tutorials (links?), or did you take courses somewhere? Any help would be greatly appreciated! Thanks in advance! Quote
stustarz Posted March 18, 2005 Posted March 18, 2005 Personally i would think it is easier to first learn VB.NET - this way you can get the hang of Object Orientated Programming, using a language you know already - which will make the jump to C++.NET a little smaller. Once you have the grasp of the .NET style of programming then move onto learning a different language :) Just a thought by the way Quote Visit: VBSourceSeek - The VB.NET sourcecode library "A mere friend will agree with you, but a real friend will argue."
Nilhanth Posted March 18, 2005 Author Posted March 18, 2005 Personally i would think it is easier to first learn VB.NET - this way you can get the hang of Object Orientated Programming' date=' using a language you know already - which will make the jump to C++.NET a little smaller. Once you have the grasp of the .NET style of programming then move onto learning a different language :) Just a thought by the way[/quote'] but either way, it's still a completely different language to move to, so I'd rather just go straight to C++ .NET I see your point though :) Quote
Leaders snarfblam Posted March 18, 2005 Leaders Posted March 18, 2005 I learned what I know about c++ (not .NET, though, but Visual C++ 6.0) from Ivor Horton's "Beginning Visual C++". VB6 to C++ is a big jump, though. I know it was for me. I would also recommend VB.Net first, to learn not only OOP but about the .Net framework. C++ .Net isn't a completely different language from VB.Net. In addition to sharing the .NET framework, it shares many programming concepts with VB.Net that it does not share with VB6. It is a bit much to pick up a new syntax, a new framework, and OOP all at the same time. You can get two of them in the first round with VB.Net and still remain in the familiar Visual Basic environment. Quote [sIGPIC]e[/sIGPIC]
HJB417 Posted March 18, 2005 Posted March 18, 2005 well, to know c++.net, you must know the basics of c++ (e.x.: declaring classes and structs, the pointer/new/delete paradimn). The .NET framework is pretty much a library. I believe the sole purpose of c++.net is to allow the execution of code from two different runtimes in a process. I would suggest picking up the c++ primer to learn standard c++ if that is your goal. c++.net just adds a few keywords, to make it cli compliant. There are also some differences such as the disallowing of covariant returns and the usage of templates, to name a few. Quote
coldfusion244 Posted March 18, 2005 Posted March 18, 2005 If you want to learn Managed C++, it's just like learning Visual C# (almost). However you have explained that your background is Visual C++ 6.0, so if you choose to use unmanaged code it will be exactly the same as 6.0. I personally use unmanaged and watch the C++ forum... Kinda new myself but I will give you as much help as I can. I would advise against learning VB.NET first, as the syntax and methodology is completely different (unless of course you want managed C++). API in unmanaged works the same, pointers, primitives, the same. Your choice. Quote -Sean
Leaders snarfblam Posted March 19, 2005 Leaders Posted March 19, 2005 However you have explained that your background is Visual C++ 6.0 He said is experience was vb6. Thats is why we recommended vb.net as an intermediate step. If you are programming with unmanaged code, is there an advantage to using C++ .Net over Visual C++ 6? Quote [sIGPIC]e[/sIGPIC]
coldfusion244 Posted March 19, 2005 Posted March 19, 2005 He said is experience was vb6. Thats is why we recommended vb.net as an intermediate step. If you are programming with unmanaged code' date=' is there an advantage to using C++ .Net over Visual C++ 6?[/quote'] Yeah, I can't read :eek: . Good question marble, I am unsure of the answer. If anyone knows that would be great for them to post it. Quote -Sean
HJB417 Posted March 19, 2005 Posted March 19, 2005 http://msdn.microsoft.com/visualc/productinfo/overview/whatsnew.aspx Quote
Nilhanth Posted March 20, 2005 Author Posted March 20, 2005 cheers for the help guys, but i really don't feel like learning VB.NET in order to move to C++.NET. I'd rather just go straight to C++ .NET. Do you know any resources of learning C++ .NET from scratch? Cheers! Quote
Leaders snarfblam Posted March 21, 2005 Leaders Posted March 21, 2005 Try an amazon.com book search for C++.Net. I personally can't recommend any good books. Quote [sIGPIC]e[/sIGPIC]
Nilhanth Posted March 29, 2005 Author Posted March 29, 2005 rite I'll try some amazon books........cheers! Quote
thenerd Posted March 29, 2005 Posted March 29, 2005 Just a quick question about visual C++.net (Yeah, I'm a thread hijacker). If I buy Visual C++.net standard, can I program both unmanaged and managed C++ with it, or will I need a seperate compiler to program unmanaged? Quote
Mattsabigman Posted January 21, 2006 Posted January 21, 2006 I use the deitel's Visual C++.NET book, it's a bit expensive but covers everything you should need to know starting out.... take a look! http://www.amazon.com/exec/obidos/ASIN/0134373774/deitelassociatin/103-0241259-4533436 Quote
jo0ls Posted January 23, 2006 Posted January 23, 2006 There is a new version of marble_eater's suggestion:Ivor Horton's Beginning Visual C++.Net Release date is March 9, 2006 though. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.