aewarnick Posted July 19, 2003 Posted July 19, 2003 I have been jumping between C++ and C# lately becuase I love the coding ease of C# but am attracted to the speed of C++. The development environment is just so much better than anything else I have seen. Quote C#
*Experts* mutant Posted July 19, 2003 *Experts* Posted July 19, 2003 Yes, its easy, you just have to select the Win32 Appliaction type of project and you can make unmanaged application. Quote
aewarnick Posted July 19, 2003 Author Posted July 19, 2003 The reason I am asking is because the drawing speed of C++ is so slow compared to C++. Is it possible to create a managed and unmanaged app where the unmanaged part handles the drawing and the managed does everything else? And if I did that would the drawing still be as fast as C++? Quote C#
*Experts* mutant Posted July 19, 2003 *Experts* Posted July 19, 2003 Yes, its possible to mix managed and unmanaged code in one Managed C++ app. You will have to create a Managed project and then just declare you classes as not managed (without the __gc keyword). Quote
aewarnick Posted July 19, 2003 Author Posted July 19, 2003 But would the unmanaged part be as fast as it would normally be? Quote C#
*Experts* mutant Posted July 20, 2003 *Experts* Posted July 20, 2003 Yeah, since it wont be touched by the framework. But remeber, since it wont be its important that you code your own destructors for the objects you create. Quote
aewarnick Posted July 20, 2003 Author Posted July 20, 2003 Someone just told me that coding with C++ .net is harder than coding pure native C++. I don't think that could be possible. Quote C#
*Experts* mutant Posted July 20, 2003 *Experts* Posted July 20, 2003 I dont think Managed C++ is harder. Since it uses framework and framework is object oriented it makes a great organization. Win32 platform APIs are procedure oriented, since I think most of it is written in C. I would say that the good of pure C++ comes at a little price :). Quote
*Experts* Volte Posted July 20, 2003 *Experts* Posted July 20, 2003 C++ isn't exactly "hard" like climbing a mountain is hard. It's mostly just tedious, tiring work. It's heavily based on logic and structure so if you plan ahead, you'll be fine. However, I think C++.NET removes some of the tedium from low-level programming, but still gives you the control you may need with C++. So, no, I don't think C++.NET is "harder". Quote
aewarnick Posted July 20, 2003 Author Posted July 20, 2003 Thanks guys. I guess I'll just have to try it out and see. Quote C#
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.