Skip to main content

Posts

Plenty of Programs of JSP & Servlet

Hey Guys Check Out The Following Link of Plenty of Programs of JSP & Servlet. Download & Enjoy The Stuff. Follow The Given Link Below  Download JSP & Servlet Program Bunch Here

If you want to shine like sun..

If you want to shine like sun first you have to burn like it.

Money can’t buy happiness

Money can’t buy happiness, but it sure makes misery easier to live with.

Write a c program using system calls to display content of file.

/* Write a c program using system calls to display content of file. Kindly add header files like :stdio.h,sys/types.h,   sys/stat.h, unistd.h,string.h,fcntl.h  */ int main(int argc, char *argv[]) {         int fd=0,r=0,i=0;         char buf[1024];         if(argc >= 2)         {         for(i=1;i         {                 fd=open(argv[i],O_RDONLY);                 if(fd == -1)                 {                         printf("file not exist");                 }   else                 {                 while((r=read(fd,buf,1024))...

Write A C Program To Create A File And Write Something in it using System Calls.

/*Write A C Program To Create A File And Write Something in it using System Calls.*/ #include #include #include #include #include #include int main(int argc ,char *argv[]) {         int i=0,fd;         for(i=1;i         {                 fd=creat(argv[i],S_IREAD|S_IWRITE);                 write(fd,"file created",12);                 write(1,"file created\n",13);                 close(fd);         }         return 0; } See Also: Write any C program using write() system call. Write shell script that do equivalent to cut–c 5-10 utility Write C program that display name of all empty file and remove from directory.