Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Difference between C++ and visual C++?


  • Please log in to reply

#1
Whipsmack

Whipsmack

    New Member

  • Member
  • Pip
  • 9 posts
I confused heeh :tazz: Anyone mind telling me the difference for a complete noob / idiot?
  • 0

Advertisements


#2
yeohhs

yeohhs

    New Member

  • Member
  • Pip
  • 5 posts
C++ is a programming language.

Visual C++ is Microsoft's version of the C++ programming language with specific extensions for Windows operating system.
  • 0

#3
Whipsmack

Whipsmack

    New Member

  • Topic Starter
  • Member
  • Pip
  • 9 posts
What do most people use? Or do most people learn both?
  • 0

#4
pomp

pomp

    the man

  • Member
  • PipPipPipPip
  • 1,366 posts
C++ is like standard console type programs. Visual C++ is the visual styled programs, with multiple windows and what not.
  • 0

#5
UV_Power

UV_Power

    Member

  • Member
  • PipPipPip
  • 391 posts

What do most people use?  Or do most people learn both?

View Post


Well, in my experience, Visual C++ is taught by more teachers in more schools than any other, so I would say it is used by more people.

But, it's all pretty much the same. The difference between one piece of code in Visual C++ and another C++ is negligible (spl?) if you make your programs robust enough.
  • 0

#6
BuRnEr

BuRnEr

    Member

  • Member
  • PipPip
  • 48 posts
"C++ was created few years ago, based on another language called C, to solve many of the problems that programmers encountered. At the same time, it was made a (very) powerful language. As it usually happens, C++ solved many problems but also presented its own issues, including some limitations or difficulties. C++ is still widely used and is probably the most popular language in the computer world as it is present on most operating systems. To reduce many of the problems encountered in C++, Microsoft created an enhanced version of C++. This language is sometimes called Managed Extensions For C++. You will find out why the word Managed. As for Extensions, one of this new language's goals is to "extend" the capabilities of C++ beyond the current functionality of C++. This language is also sometimes called Managed C++. "


i guess this article explained well difference between visual C++ and C++

-------------------------------------------------------
In my opinion difference is so simple , visual C++ is manged environment but C++ is not , what i mean by managed and unmanaged,
managed means you don't need to worry about memory management, "like cleaning up memory because there is a garbage collector does this duty for us.
unmanaged means you must worry about memory management "like when you create object on the heap you have to clean it up manually"
visual studio is great fantastic ID and ofcourse no doubd it is beyoned Java ID
i strongly recomend you who are new about programmin...
you can compaile C, C++, visual C++, C#, VB.net, Fortran codes and more like Perl , and so on...
it has great:
Microsoft Foundation Classes (MFC)
App Wizard
Class Wizard
App Studio

you can create perfect GUI in shorth time. Form library gives you that power.

but anyway thats your choice.
BuRnEr
  • 0

#7
Whipsmack

Whipsmack

    New Member

  • Topic Starter
  • Member
  • Pip
  • 9 posts
For programming 2d games and the like would you use visual C++?
  • 0

#8
UV_Power

UV_Power

    Member

  • Member
  • PipPipPip
  • 391 posts

...you must worry about memory management "like when you create object on the heap you have to clean it up manually"...

I thought even with Visual C++ (or Managed C++) you still have to worry about this. Whenever you allocate memory using "new", you must release the memory down the line using "delete". Was this what you were talking about? :tazz:


.. and YES. Programming 2D and even 3D games with C++ is very common... ;)
  • 0

#9
ratmilk

ratmilk

    Member

  • Member
  • PipPipPip
  • 151 posts
Visual C++ is a programming environment for C/C++ created by microsoft using. Bbut also includes large libraries like mfc and win32. It sort of is a GUI for the microsoft linkers, ect,.
  • 0

#10
BuRnEr

BuRnEr

    Member

  • Member
  • PipPip
  • 48 posts
heyyy guys

please read well and understand well and than put your comment. didnt i know you still need to delete object on the heap, even in C# you can make better memory managment by manually,
because there is no garbage collector works perfect..
i mean was that in dot net environment .net framework always take care of possibly memory leaks "somehow". furthermore even you created pointer and object on the heap and pointer points to the object and you delete the pointer before the delete object there is a possible memory leak and .net take care of that..
but unmanaged environment you "must must must must must must must" delete objects correctly and right place, the example above if you delete the pointer before the object on the heap (whic is pointed that pointer) you have no access the that object so result is is is "memory leak"

in shortly ".net take care of any memory leaks possiblities".

and i never thought about visual C++ is a an environment, all i know that there is only one environment or ID which is created by (microsoft) , and called
Visual Studio DotNet

are we ok now

take care
  • 0

#11
UV_Power

UV_Power

    Member

  • Member
  • PipPipPip
  • 391 posts

...i mean was that in dot net environment .net framework always take care of possibly memory leaks "somehow"...


hmm. Didn't know that. :tazz:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP