Question

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........................

Was it helpful?

Solution

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++...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top