#include<stdio.h>
main()
{
int a[10]={3,56,7,85,19,33,6,105,70,18};
int i,n=0,c=0;
printf("Please enter a number\n");
scanf("%d",&n);
for(i=0;i<=9;i++)
if(n==a[i])
c=i+1;
if(c>0)
printf("%d is the %d number of the array\n",n,c);
else
printf("%d not found in the array\n",n);
return 0;
} 这是一个搜索程序……
怎么样在.txt格式下转换它成为可执行程序?