+ 2
C# vs C vs C++
So what is the difference between C# and normal C? I know that C++ is basically just a newer version of C, is that correct?
2 Respostas
+ 5
C++ is not newer version of C, the 3 languages are different, C&C++ just have little similar syntax
+ 1
TheCoder | Check The Codes I Make :)
In C++ there's no need of memory management since 2010. You have smart pointers which solve many problems with ownership and deleting pointers ;)
Btw. in c# there are objects which have to be manually disposed, like streams. You either initialize them and then call stream.Dispose(), or use "using" directive like:
using (var stream = new MemoryStream()
{
}// here it is being Disposed