HI, I was reading a introduction the other day and the guy said he new C++ and Visual C++ and I was wondering is there a difference? I always thought they where the same thing.:confused:
Is There A difference?
Started by CommittedC0der, Jan 21 2010 05:02 PM
5 replies to this topic
#1
Posted 21 January 2010 - 05:02 PM
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
|
|
|
#2
Posted 21 January 2010 - 05:18 PM
Visual C++ is C++ along with various Windows libraries, including Managed C++ hooks into .NET.
#3
Posted 21 January 2010 - 05:20 PM
OK, so they are the same thing.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#4
Posted 21 January 2010 - 06:26 PM
I would say that Visual C++ refers to a dialect which includes nonstandard Microsoft language extensions. Meaning: no, they are not the same thing. One would be the language proper (standard C++), and the other would be the Microsoft language extensions. They are not distinct languages, but you might find that Visual C++ code does not compile in gcc or Borland, for example. Or gcc code might not compile in MSVC. Or Borland code might not compile in gcc. Mix and match.
#5
Posted 21 January 2010 - 08:03 PM
Visual C++ is C++ written in Visual Studio. They are the same language.
Life's too short to be cool. Be a nerd.
#6
Posted 21 January 2010 - 08:20 PM
Visual C++ - Wikipedia, the free encyclopedia
Going back to when things were more familar to me, things like MFC and OLE are not C++. They happen to be in C++. More recently, C++/CLI is similar: it is not C++, but it is in C++.
Way back, Borland had conio.h and stuff. You still run into people today doing frickin' gotoxy() and clrscr(). These are not C, as in standard C. These are language extensions.
So when someone mentions C++ and Visual C++, I take it that they are drawing such a distinction. Paraphrasing, one might say, "I am familiar with standard C++, but I have also worked with language extensions for Microsoft's compiler". If that is the distinction that is being drawn.
Now certainly someone could take a simplistic perspective and say that Visual C++ will compile standard C++, but that rather goes without saying.
Now given that Visual C++ also happens to refer to an IDE, that could further complicate the statement, "the guy said he new C++ and Visual C++". As with programming itself, context is king. So I really don't know what the guy meant. I've heard many people make similar comments, but the distinctions they are trying to highlight happen to fall flat.
But hopefully this little bit of mental meandering provides food for thought about what such a statement might or might not mean.
Going back to when things were more familar to me, things like MFC and OLE are not C++. They happen to be in C++. More recently, C++/CLI is similar: it is not C++, but it is in C++.
Way back, Borland had conio.h and stuff. You still run into people today doing frickin' gotoxy() and clrscr(). These are not C, as in standard C. These are language extensions.
So when someone mentions C++ and Visual C++, I take it that they are drawing such a distinction. Paraphrasing, one might say, "I am familiar with standard C++, but I have also worked with language extensions for Microsoft's compiler". If that is the distinction that is being drawn.
Now certainly someone could take a simplistic perspective and say that Visual C++ will compile standard C++, but that rather goes without saying.
Now given that Visual C++ also happens to refer to an IDE, that could further complicate the statement, "the guy said he new C++ and Visual C++". As with programming itself, context is king. So I really don't know what the guy meant. I've heard many people make similar comments, but the distinctions they are trying to highlight happen to fall flat.
But hopefully this little bit of mental meandering provides food for thought about what such a statement might or might not mean.


Sign In
Create Account


Back to top









