We can use facebook even without an internet connection.A Singapore based mobile company called U2opia has introduced an application which provides this service through mobile.This world’s first USSD-based Facebook access service.It uses the technique called Unstructured supplementary data (USSD).We can use facebook from a mobile which does not have GPRS facility is the main speciality of this application.But all the features of facebook is not available through this application.We can on read friends posts,comments and can upload our status and comments.We need to send only a message.The company launched this service in India cooperation with Bharati Airtel.
/* Program to take lines 1,4,7,10.... from a text file and to write into a new file. It is written in c with platform devcpp*/ /* eg:- input file -> ab.txt contain 1 lady gaga sdrgrg ergerg 2 oraph winfrey dfgdr dfgdf . output file neww.txt 1 lady gaga 2 oraph winfrey . . */ #include #include #include using namespace std; main() { char c; FILE *fp1,*fp2; if(fp1=fopen("e:\\ab.txt","r")) { cout<<"\n opened fp1"; } else { cout<<"\n failed fp1"; } if( fp2=fopen("e:\\neww.txt","w") ) { cout<<"\n opened fp2"; } else { cout<<"\n failed fp2"; } while(!feof(fp1)) { c=getc(fp1); while(c!='\n') { putc(c,fp2); c=getc(fp1); } putc('\n',fp2); c=getc(fp1); while(c!='\n') { c=getc(fp1); } c=getc(fp1); while(c!='\n') { c=getc(fp1); } } cout<<"\n End"; getch(); return 0; }
Comments
Post a Comment