Tuesday, July 14, 2009

I want to learn C++, but every time I do, I think about doing it in VB much easier. What am I doing wrong?

I've attempted to read several C++ tutorials, but every time I get into it past if statements and variables, I give up due to how I grew up programming BASIC, which had doing things such as this programmed so easily. I know that many powerful programs are written in C++, which can't be said for Visual Basic. Is there any special tutorials written for VB-clinging people such as me? Thanks

I want to learn C++, but every time I do, I think about doing it in VB much easier. What am I doing wrong?
I too have gone from VB to C++.


I couldn't find any dedicated tutorials from VB to C++.


However, what I did learn is that it is best to use the most appropriate tool for the job.


If you are solely programming in Windows then VB is fine.


If you have to program for a different platform or you are being specifically asked for it then you might need C++.





I found the following sites useful:


http://www.vbforums.com/forumdisplay.php...


http://www.parashift.com/c++-faq-lite/in...


http://www.cppreference.com/index.html


http://msdn.microsoft.com/library/defaul...








By the way,


What people say about speed in VB is not necessarily true.


See Merri's article here for more info


http://www.vbforums.com/showthread.php?t...
Reply:You could also be in the 'VB' mindset, and not in the 'C++' mindset. As they are different programming languages, made for different purposes, you have to think differently for each language. Report It

Reply:If you don't have any problems to be solved with c++, I don't suggest you try and force yourself to learn it.





VB has a very specific set of problems it is good for solving, and if those are the problems you want to solve, then stick with it.





When the time comes that you need to use C++, I'm sure you'll be motivated to learn it. And if variables are getting you, memory management is going to be killer.





Best of luck.
Reply:Skip c++


I would go for java it is much easier and everything is very clean. Here is a company you might like.
Reply:Why u want to learn C++ buddy? Interested in Object oriented programming? Instead of learning c++ i suggest u to learn vb.net which also has the power of oops. Once u learned the concept of vb.net, its easy for u to understand the OOPS Concepts.
Reply:Why C++? Why not Java (J2EE)? I would respectfully encourage you to download a copy of Eclipse framework and begin learning how do application design and generate code using an IDE. Therein, you will begin learning to utilize design patterns, while also learning Java, and realize the value of component-based architectures for building applications. See www.eclipse.org
Reply:C++ has several advantages over VB, the major one being speed. I switched from Vb to C++ and found the transition to be quite difficult. The best way to learn is to pretty much forget all you know about Vb and learn c++ from scratch. At least thats what I did.





Also about Java, i know that also and its easy to learn but if you are going to learn java it has a very similar syntax to c++ so switching from java to c++ at a later date would not be too hard.


No comments:

Post a Comment