Difference between C++ and visual C++?
Posted 27 June 2005 - 07:56 PM
Posted 30 June 2005 - 07:09 AM
Visual C++ is Microsoft's version of the C++ programming language with specific extensions for Windows operating system.
Posted 30 June 2005 - 02:15 PM
Posted 30 June 2005 - 03:35 PM
What do most people use? Or do most people learn both?
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.
Posted 30 June 2005 - 11:06 PM
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)
you can create perfect GUI in shorth time. Form library gives you that power.
but anyway thats your choice.
Posted 01 July 2005 - 02:54 PM
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?
...you must worry about memory management "like when you create object on the heap you have to clean it up manually"...
.. and YES. Programming 2D and even 3D games with C++ is very common...
Posted 05 July 2005 - 03:28 AM
Posted 05 July 2005 - 10:14 AM
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
Posted 05 July 2005 - 03:11 PM
...i mean was that in dot net environment .net framework always take care of possibly memory leaks "somehow"...
hmm. Didn't know that.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users