|
-
September 2nd, 1999, 03:41 AM
#2
Re: DLL won't build! Please help!
try this:
extern "C" template <class Stype> void qsort(Stype *item, int count);
extern "C" template <class Stype> void quicksort(Stype *item, int left, int right);
//Sort Function : Quicksort Entry function
extern "C" template <class Stype> void qsort(Stype *item, int count)
{
quicksort(item,0,count-1);
}
//Quicksort Function : Actual Quicksort algorithm
extern "C" template <class Stype> void quicksort(Stype *item, int left, int right)
{
//.......
}
Let me know if this help u
Regards,
Ovidiu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|