Hi everyone!
This code shows how to make simple bubblesort namesorting routine
in an assembly procedure called from a Visual C++ program
It sorts the names with the help of the C function strcmp

See it run

Look at the source

C++ file:

Assembly procedures:

How to create a C++ or C to call assembly procedures in Visual C++
note: this project was a console project


Posted on 2001-12-19 19:45:24 by andy981
Nice to see it come together Andy - good work.
Posted on 2001-12-19 20:00:57 by bitRAKE
Thanks BitRake

Now I got to make a QuickSort

I'd like to do it two ways, one with C functions
but best yet, see how I could use yours in C, but It'll take some knowledge how to use other libraries like the one from Masm32 , in Visual C++
Posted on 2001-12-19 20:39:13 by andy981
Should be able to make a LIB and add it to your link options.

Why not do it all in ASM?
Posted on 2001-12-19 23:34:16 by bitRAKE