Posts

Showing posts with the label Windows Forms

Mixing Managed and Native Types in C++ / CLI

Image
Brief Introduction C++/CLI (Common Language Infrastructure) was designed to bring C++ to .NET as a means of developing managed code applications. Specifically it helps simplify writing managed code when using C++. Suppose you are writing a WinForms application in Microsoft Visual Studio with a view to using C++ to write managed code. You may prefer to reuse existing libraries and headers written in C and C++ but are a little unsure as to how this is achieved exactly.

Implementing Kruskal's Algorithm in C#

Image
This post is essentially a blatant lifting of Omar Gamil's CodeProject article on the same subject. I have been using the project as means of getting into C# programming and using things like Windows Forms etc in Visual Studio environments for the first time.