View Full Version : Which is better VB or C++?
illgamez
05-28-2006, 06:05 PM
Which is better VB or C++? I say VB (Visual Basic) bcuz i learn it in school
MisterPoppet
05-28-2006, 07:09 PM
Hmm... neither is really better than the other. And saying you like one because you learned it in school is like saying I like biology better than art because I learned in school. But of course, I dislike biology... a lot.
-Bryan-
illgamez
05-28-2006, 08:04 PM
lolzzz......
HopeDagger
05-28-2006, 08:34 PM
His sentiment was pretty much right. It's a matter of both preference, and what you plan on using it for. I can think of situations where either could be the preferred language. For a fast GUI program, or a map editor, or such, VB is handy because it can throw together a GUI very quickly. On the other hand, for a large-ish 3D game or somesuch where speed and low-level resource management is crucial, C++ would be a preferred language.
Neither is technically "better".
Gravedigger
05-31-2006, 03:16 AM
It all comes down to the task at hand, C is a very powerful program and can be used to create a wide variety of other programs, it is one powerful tool, but you must pay a good price for learning it to, it is very difficult. Visual Basic which is much simpler to learn is much weaker than C but don't get me wrong Visual Basic is a pretty handy tool too. I use VB for a lot of stuff that I do. But I am planning to learn C since I can not deal with the restrictions, that I am being faced with.
AmsterdamBoy
06-01-2006, 05:20 AM
Well acutally i know much about VB but heard much that C++ better is.
So actually i dont have the 100% answer :p .
HopeDagger
06-01-2006, 03:09 PM
Well acutally i know much about VB but heard much that C++ better is.
So actually i dont have the 100% answer :p .
Yes you do. Neither are "better". They are just different. It depends entirely on what task you need the programming language to do that makes one a better choice than the other.
illgamez
06-02-2006, 08:46 PM
oh... ok...
naruto1327
06-06-2006, 10:56 PM
I think C++ is a much better programming language than VB because it can create a wide variety of different powerful programs.
Meteo
06-08-2006, 01:24 AM
yup, C++ I think
Force
06-08-2006, 02:11 AM
plus hasnt c++ ben around alot longer ? since the 80's hasnt it ?
HopeDagger
06-08-2006, 02:20 AM
plus hasnt c++ ben around alot longer ? since the 80's hasnt it ?
Age isn't always a merit when it comes to programming languages. Just see how popular COBOL is. :)
Force
06-08-2006, 02:57 AM
yeah but age can be a factor sometimes to:) the longer its ben around the more trusted and more widley used it is.
The comparison is one I do not normally make, mainly because C++ is a 3rdGL, and VB is a 4thGL, so they are by definition and intended purpose very different.
Anyway, here's a list:
C++ IS better then VB because...
... it is published/developed by a international standards committee
... can be used to develop many applications (including anything VB can build)
... often programs can generally run faster on low end systems
... of support on multiple OS/Archs (VB is Win32 only, maybe MacOS via RB?)
VB IS better then C++ because...
... needs less work for high level tasks
... develops programs in less time
... often requires less actual code for high level work
... has a better Intergrated Development Enviroment
Edit
I know and have used both, but I use C++ more often.
power_gamer_6
06-08-2006, 08:45 PM
C++ is better. Anything you can do in VB, you can do in C++. But the same can't be said vice versa, for anything you do in C++ can't always be done in VB.
illgamez
06-08-2006, 09:22 PM
hmmm i should try C++
HopeDagger
06-08-2006, 09:47 PM
C++ is better. Anything you can do in VB, you can do in C++. But the same can't be said vice versa, for anything you do in C++ can't always be done in VB.
This is not always the best way of looking at things. 'Time' is another important factor. Sure you can write program A in C++ in 2 weeks. But you can probably write program A in VB in 2 hours. Same result, but one saves you a heap of time.
This is why high-level programming languages exist. Sure you can do everything in Assembly, but not all of us want to take forever doing it. It's all about choosing the right tool for the job. :)
Meteo
06-09-2006, 06:31 AM
C++ is better. Anything you can do in VB, you can do in C++. But the same can't be said vice versa, for anything you do in C++ can't always be done in VB.
yes...enough said...
AmsterdamBoy
06-12-2006, 02:49 AM
I heard C++ .
Akujin
06-12-2006, 05:19 AM
there isn't really one programing language thats better than the rest... yet:D . but really what language you use just depends on the program you want to make, for what OS it will be used on, if it will be used on a variety of OSs,and so on. for example microsoft users you would probubaly be better off buying the VB compiler and writing all your programs in VB.
Chrono
06-15-2006, 06:30 AM
VB is a MUCH easier language to learn, but also it doesn't preform well for games. C++ on the other is a very tough programming experience, but is great for games.
Stick with Visual Basic if you just want to make windows applications
Learn C++ if you want to program your very own games.
Learn C++ if you want to program proffesionally in the future. The language is becoming a standard for all types of jobs and apps.
HopeDagger
06-15-2006, 02:23 PM
Learn C++ if you want to program proffesionally in the future. The language is becoming a standard for all types of jobs and apps.
Uhm, this was true 10-15 years ago, but that's simply just not true anymore. C++ in the business industry has become a legacy language -- that is, it exists just to maintain previous code made with C++ -- for the most part. Languages like .NET (C# and VB.NET) and Java have more or less begun to dominate the business industry.
Now the games industry is different. They still stick to ASM/C/C++ pretty religiously. But still, this has been the standard fare in the game industry for years and years now.
Chrono
06-15-2006, 10:21 PM
Uhm, this was true 10-15 years ago, but that's simply just not true anymore. C++ in the business industry has become a legacy language -- that is, it exists just to maintain previous code made with C++ -- for the most part. Languages like .NET (C# and VB.NET) and Java have more or less begun to dominate the business industry.
Now the games industry is different. They still stick to ASM/C/C++ pretty religiously. But still, this has been the standard fare in the game industry for years and years now.
C++ is also .NET, you can use it in that manner if you want, and if you don't then thats fine, because not all PC's support .NET, only systems that are running on Windows I believe, this can be a problem at times. C# isn't very popular, and VB has its limits. Also I should'nt have is "is becoming a standard", I meant to say "IS a standard". :P
Hayloe
06-16-2006, 07:50 AM
Programming languages are tools, just use whichever one fits the program your developing best.
none of them are better than the other, you just cant compare them, they each have there own uses...
if one was truly better than the other, than the "other" wouldnt exist, because there would be no need for it...
HopeDagger
06-16-2006, 02:10 PM
C++ is also .NET, you can use it in that manner if you want, and if you don't then thats fine
C++/CLI (Managed C++) should be considered as a completely different beast than unmanaged C++. C++/CLI sees pretty seldom usage, but that may or may not change in the future depending on how Microsoft pushes it.
because not all PC's support .NET, only systems that are running on Windows I believe, this can be a problem at times.
Nay; it's no problem. Check out Mono (http://www.mono-project.com) and .GNU (http://dotgnu.org/).
C# isn't very popular
Yeah right! C# is becoming hugely popular. Do a search on any job-search website for "C#" and you'll be whacked with pages and pages of results. .NET is gaining huge popularity. Even a handful of commercial C# computer games have been released. :)
MisterPoppet
06-16-2006, 07:29 PM
I have become interested in this conversation. What games are written in C#?
-Bryan-
SilverIce
07-17-2006, 01:04 AM
well, my friend says she thinks vb would be good for txt based rpg what with the if/then and such... (dont know the actual stuff) anyhoo, she started teaching me some, and she said you can do some stuff like if heroweapon equals icesword then hit equals 5-10 or whatever. this is not real VB. i dont really know anything about it, but i would do vb. also the fact your learning in school is wicked cool, it will help you out later.
TwitcH
07-17-2006, 01:32 AM
I found the best way to decide between two different programming languages was to sit and read them. Find yourself an example of a program written in both VB and C++, then read it through line by line and see if you can easily follow what it is doing, if you follow one easier than the other then maybe that's gonna be the easiest language for you to learn.
For example when I was first starting to program I couldnt decide between C and C++, so I just read through a basic hello world program:
//my c++ example of hello world
#include <iostream>
using namespace std;
main()
{
cout << "Hello World!\n";
}
And:
//My example of hello world in C.
#include <stdio.h>
int main()
{
printf ("Hello World!\n");
}
I read through them both line by line and came to the conclusion that C was easier to understand for me, i saw printf and thought "ok thats gonna print something". Then I saw cout << and thought "erm? wtf.". But maybe that's just me, I hope you try this and I hope this help's with any other languages anyones having trouble deciding between.
(Please note that looking at hello world for an example is pretty crappy, you might wanna try something a bit more complex, I just posted Hello World because it's short and sweet.)
naruto1327
07-18-2006, 10:36 PM
Some people may have a different perspective of "cout << " because its commonly pronounced as "see-OUT", and the " << " has a visual effect as to the flowing of text onto the screen.
Kyuur
07-20-2006, 09:53 PM
As everyone says, its mostly a matter of preference and what you need to do. Also, some things use multiple languages. For example, if I was making an MMORPG, I could just do everything in C++, but why bother when theres other tools to do such? Maybe make the patcher in VB, the server in C++, and the client in DarkBasic with a few addon C++/Assembly DLLs to assist? Theres a lot of diffirent uses for diffirent languages, but diffirent things can be pulled off at diffirent rates. Then again you go back to the matter of personal preference. =P
naruto1327
07-20-2006, 09:58 PM
C++ rocks.
Period.
n0madic0debc
07-21-2006, 04:00 PM
Lets see here, VB is a good language simple, easy to learn, and plus comes with programs that let you see what your doing and you just go ahead double click the object in the prog your creating and then you code. C++ i think is something i would love to get into, it looks way more flexable then any language i have seen. NOT SAYING THATS ITS THE BEST, but it looks likes alot of these game companies are using it now. I still think it just depends on what you want to do. All languages have boundaries some more then others so it just depends.
naruto1327
07-21-2006, 09:25 PM
Just as everybody says, it depends on your preference.
hamik
07-22-2006, 04:42 PM
Some people may have a different perspective of "cout << " because its commonly pronounced as "see-OUT", and the " << " has a visual effect as to the flowing of text onto the screen.
Actually it all depends on the way people think and react to code. I personally have seen Visual Basic code at the same time have seen C++ code and was just find with it. :)
Personally I like C++ better ,but at the end it comes out to which gets the job done quicker and better. Lets say for Applications I would go for Visual Basics becauses thats what it was made for, but don't get me wrong some really nice games have been made in Visual Basics.For those of you who are interested in NarutoRealm that is written in Visual Basics.
naruto1327
07-22-2006, 07:57 PM
Oh but thats just my opinion. =P
RobertW
08-24-2006, 01:01 AM
I am a noob to these boards but have been programming for over 10 years, primarily in VC++, currently I am writing code in VB.NET at work and C# for my own application. I’ve also programmed in PASCAL and some other obscure language. I prefer the C style of programming because I’ve done it for most of my professional carrier.
As far as the question which is better VB or C++ like some have pointed and showed you the pros and cons of each one. I personally think that C++ is more powerful primarily because of its ability to address direct memory location and manipulate them with hardly any effort.
Really though I think you are asking the wrong question. The questions you should be asking is what kind of stuff do I want program? Once you have answered that you need to then look at the most common denominator as far as programming languages then go learn that. If you don’t learn that most used language you are just limiting your marketability.
Personally I think a programmer that is worth his/her weight can pick up any 4GL and learn to program in it with a very little learning curve. Surely there are limitations to some 4GL programming languages out there but mostly the difference between one programming languages is syntax. Programming Zen for me is to be able to take pseudo code and then be able to translate that pseudo code into any 4GL.
The most important thing to learn, is object orientation. Learn to look at things broken up into very basic objects and that object put together can be put together to make other more complex objects. So on and so forth.
Also to note for Windows computers .NET is here to stay. Since you are just getting into programming I really suggest you look at downloading the free Microsoft's C# Express development environment. Unless you want to make cross platform games then learning C is your best option.
Sorry for the long post.
naruto1327
08-26-2006, 11:21 PM
No need to be sorry for posting something long. What is VC++?
AlexS
08-26-2006, 11:34 PM
What is VC++?
Microsoft's C++ IDE.
naruto1327
08-26-2006, 11:40 PM
OHH. Ok thanks =P
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.
SEO by
vBSEO 3.2.0