views:

70

answers:

1

hello, i have a code in c++ of binary search trees & i want to include it to windows form application to do it by windows can any one help me how can i include the code and how to do it and any other code THANX........................

+1  A: 

Binary search is already built in to the .NET framework.

VB:

 Dim foo As New Collections.Generic.List(Of Integer)
 foo.BinarySearch(3)

C#:

List<Integer> foo = new List<Integer>();
foo.BinarySearch(3);

You could also write a C++ based WinForm if you want to write everything in C++...

Sean Turner