Program to write In Command in C

Started by thiruvasagamani, Jul 28, 2008, 02:53 PM

Previous topic - Next topic

thiruvasagamani

[color=#1300ff]#include <stdio.h>
#include <conio.h>
#include <io.h>
int main(argc, argv)
int argc;
char * argv[];

{

int i;


if (argc!=3)
{
printf("usage is wrong");
return;
}


i=link(argv[1],argv[2]);

if (i==0)
printf("file are linked");

getch();

}  [/color]
Thiruvasakamani Karnan