Weather Watcher OCX
Placing this control on a form will allow you to retrieve current weather conditions for any city in the United States.. Based on my Weather Watch Program I submitted yesterday. You can contact me on AOL Instant Messanger, my username is Itchiban J
AI
Yapay Zeka Özeti: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Kaynak Kod
Upload
/******** Now you can write your own copy command to copy.exe or .com or any large file................. Please Vote for me.....Nitin Jindal............*/
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <sys\stat.h>
void fcopy(char *,char *);
main()
{
fcopy("fcopy.exe","fcopy2.exe");
/* fcopy("a:\\fcopy.exe","C:\\test.exe");
this will copy fcopy.exe file from floppy disk to harddisk */
return 0;
}
void fcopy(char *sname,char *tname)
{
void *buffer;
int bytes,inhandle,outhandle;
inhandle=open(sname,O_RDONLY|O_BINARY);
outhandle=open(tname,O_CREAT|O_BINARY|O_WRONLY|S_IWRITE);
while(1)
{
bytes=read(inhandle,buffer,512);
if(bytes>0)
write(outhandle,buffer,bytes);
else
break;
}
close(inhandle);
close(outhandle);
}
Upload
Orijinal Yorumlar (3)
Wayback Machine'den kurtarıldı