求助用LABVIEW和VC++混合编程
c++吧
全部回复
仅看楼主
level 1
nanyuan_34 楼主
有c语言程序 不太清楚生成和调用dll的具体过程 在此求教~
#include "stdio.h"
#include "conio.h"
main()
{
int m = 9009, n, a[9009], x=0;
for (n = 1; n < m; n++) a[n] = 1 + 1/n;
for (; m > 9; m--)
{
for(n = m - 1; n > 0; n--)
{
a[n] = x % n;
x = 10 * a[n-1] + x/n;
}
printf("%d", x);
}
printf("\nPress any key to continue ...\n");
getch();
}
2011年11月07日 13点11分 1
1