|
不知道为什么Print((unsigned char*)"*Holle World");就可以char s="Holle World";Print(S);这样子就不可以,,望高手指点,,,
#include "fxlib.h"
#include "stdio.h"
int AddIn_main(int isAppli, unsigned short OptionNum)
{
unsigned int key;
const char *s, *control="%d";
int ret,buffer[10];
ret=sscanf(s, control, buffer);
locate(1,1);
ret=printf(control, buffer);
while(1){
GetKey(&key);
}
return 1;
}
#pragma section _BR_Size
unsigned long BR_Size;
#pragma section
#pragma section _TOP
int InitializeSystem(int isAppli, unsigned short OptionNum)
{
return INIT_ADDIN_APPLICATION(isAppli, OptionNum);
}
#pragma section
如果给个例子,感激不尽!! |
|