N
norton
Does anyone know how can i convert this C++ code into VB.Net code?'
(Soruce from: http://members.lycos.co.uk/happybcb/article/tips/cbc_12.htm)
i=0xa1??? not an integer and donno how to convert >_<
thx in advance!
//TURBO C++ 3.0
#include <Stdio.h>
#include <stdlib.h>
void main(){
FILE * codefile;
int i,j,k;
codefile=fopen("table.txt","w+b");
for (i=0xa1;i<=0xfe;I++){
for(j=0x00;j<=0xff;j++){
fwrite(& i,1,1,codefile);
fwrite(& j,1,1,codefile);}
}
fclose(codefile);
return;
}
(Soruce from: http://members.lycos.co.uk/happybcb/article/tips/cbc_12.htm)
i=0xa1??? not an integer and donno how to convert >_<
thx in advance!
//TURBO C++ 3.0
#include <Stdio.h>
#include <stdlib.h>
void main(){
FILE * codefile;
int i,j,k;
codefile=fopen("table.txt","w+b");
for (i=0xa1;i<=0xfe;I++){
for(j=0x00;j<=0xff;j++){
fwrite(& i,1,1,codefile);
fwrite(& j,1,1,codefile);}
}
fclose(codefile);
return;
}