How can I delete a remote file . I have the username and password of the remote machine .. I am using
sun.net.ftp.*;
sun.net.*;
Can anyone please help . This is urgent.
Manas
I think you mean:
#define CLEAR "\x1B[2J"
I'm curious, in what compiler/environment does this work?
Yes rbobbitt that's right .it works in turbo C++ compiler.
I have not tested it with any other compiler.
Manas
int main (void )
{
char *word;//this is the search string
char *string;//this is the string from the file
FILE *f;
int number=0;
printf("Please enter the word to search):
scanf("%s",word);
f=fopen("filename.txt","r");
if (f==NULL)
{...
Agreed with rbobbitt and swapsawe and there is also an alternative way
just include this line along with the #include statements
#define "\x1B[2J" CLEAR
and call CLEAR; from inside the program It will clear the screen.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.