chihhao
Full Member level 4
Hi
I would like to export some number to excel file but it always be
placed at location A1 without placing at A2,A3,.... in order.
Would someone please kindly advise me how to do it ?
Thanks!!!!
=================================
#include <stdio.h>
void main()
{
int index;
FILE *fptr;
fptr=fopen("c:\\temp\\C_Practice\\test.xls","a");
for(index=0;index<=100;index++)
{
fprintf(fptr,"%3d",index);
}
fclose(fptr);
}
=================================
I would like to export some number to excel file but it always be
placed at location A1 without placing at A2,A3,.... in order.
Would someone please kindly advise me how to do it ?
Thanks!!!!
=================================
#include <stdio.h>
void main()
{
int index;
FILE *fptr;
fptr=fopen("c:\\temp\\C_Practice\\test.xls","a");
for(index=0;index<=100;index++)
{
fprintf(fptr,"%3d",index);
}
fclose(fptr);
}
=================================