Click to See Complete Forum and Search --> : C#, C++ or VB .net


pnut33
12-18-2002, 10:36 AM
U know, ive done java, vb6 and recently im reading C++ books. But whats the deal with, "this one is more powerful." Im sure the power was based on recursive methods, method overloading, inheritance, polymorphism, multithreading...etc Does VB.net have all these now? Then being C# (Compiled Java)so familiar with C++ why would a chose any of them over the other? (I know C++ is a bit more tedious though)

Thanxs

Im gonna start doing a POS system soon....wondering which language i chould use.

peterlak
12-19-2002, 08:53 PM
to answer you question is difficautl. you can only answer you own question after becomeing an advanced C++ programer then you will understand. but in a few words.

1. in C++ you have more controll over your program.

2. C++ is considerd sometimes something in between a low-level and high-level language cause its soo primitive.

3. pointers is a huge reason.

4. and more...


eg. java is not a preformance language so comparitively speaking...

if you have done java and C++: in java all functions are virtual, in c++ they are not unless specified. virtual funcions have a preformance penelty.

in c you can decalre dynamic multidymentinal arrays. in java you just use a vector of a vector class wich is an indirect way of doing it. hence preformence penelty.

Boldy
12-21-2002, 02:13 AM
All of the .Net languages support object oriented programming. I've never worked with VB.Net, but the only thing I recall it not supporting is operator overloading (it does support method overloading).

If your interested in .Net programming, I'd suggest you go with whatever language you are most comfortable with. If you have a background in Java, your best answer may be C#.

I guess I disagree with that statement that you need to become a C++ expert to make an informed decision. C++ may be the best choice for some types of applications such as game programming, but for the most part any of Microsoft's .Net languages can do the job nicely.

I have a lot of experience with C++, but I started working on a C# project a few months ago and am loving it. The Visual Studio.Net IDE is awesome, and in my opinion the .Net libraries are a huge improvement over MFC.