[algogeeks] Termination
Is it possible to terminate this code(except break) while it is executing..? For what eof will this terminate..? #includestdio.h main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } } Reply fast... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Termination
compiler : gcc, OS : Fedora 15 I use ctrl + d to put EOF in files. you can verify it through this code #includestdio.h int main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } if(c==EOF) printf(EOF Break); return 0; } On Sun, Jul 31, 2011 at 3:05 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: Is it possible to terminate this code(except break) while it is executing..? For what eof will this terminate..? #includestdio.h main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } } Reply fast... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Termination
Is the eof different for different OS's..? On 7/31/11, Abhishek Gupta gupta.abh...@gmail.com wrote: compiler : gcc, OS : Fedora 15 I use ctrl + d to put EOF in files. you can verify it through this code #includestdio.h int main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } if(c==EOF) printf(EOF Break); return 0; } On Sun, Jul 31, 2011 at 3:05 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: Is it possible to terminate this code(except break) while it is executing..? For what eof will this terminate..? #includestdio.h main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } } Reply fast... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Termination
I am only using linux. google it. it must be some ctrl + any key sequence On Sun, Jul 31, 2011 at 3:12 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: ctrl+D doesnt work on dev , os windows 7... On 7/31/11, Puneet Gautam puneet.nsi...@gmail.com wrote: Is the eof different for different OS's..? On 7/31/11, Abhishek Gupta gupta.abh...@gmail.com wrote: compiler : gcc, OS : Fedora 15 I use ctrl + d to put EOF in files. you can verify it through this code #includestdio.h int main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } if(c==EOF) printf(EOF Break); return 0; } On Sun, Jul 31, 2011 at 3:05 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: Is it possible to terminate this code(except break) while it is executing..? For what eof will this terminate..? #includestdio.h main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } } Reply fast... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Termination
ctrl+z for win On Sun, Jul 31, 2011 at 3:18 PM, Abhishek Gupta gupta.abh...@gmail.comwrote: I am only using linux. google it. it must be some ctrl + any key sequence On Sun, Jul 31, 2011 at 3:12 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: ctrl+D doesnt work on dev , os windows 7... On 7/31/11, Puneet Gautam puneet.nsi...@gmail.com wrote: Is the eof different for different OS's..? On 7/31/11, Abhishek Gupta gupta.abh...@gmail.com wrote: compiler : gcc, OS : Fedora 15 I use ctrl + d to put EOF in files. you can verify it through this code #includestdio.h int main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } if(c==EOF) printf(EOF Break); return 0; } On Sun, Jul 31, 2011 at 3:05 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: Is it possible to terminate this code(except break) while it is executing..? For what eof will this terminate..? #includestdio.h main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } } Reply fast... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Shashank Nayak -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Termination
@Shashank Nayar: Thanks maan...! it worked.. On 7/31/11, Shashank Nayak link4shash...@gmail.com wrote: ctrl+z for win On Sun, Jul 31, 2011 at 3:18 PM, Abhishek Gupta gupta.abh...@gmail.comwrote: I am only using linux. google it. it must be some ctrl + any key sequence On Sun, Jul 31, 2011 at 3:12 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: ctrl+D doesnt work on dev , os windows 7... On 7/31/11, Puneet Gautam puneet.nsi...@gmail.com wrote: Is the eof different for different OS's..? On 7/31/11, Abhishek Gupta gupta.abh...@gmail.com wrote: compiler : gcc, OS : Fedora 15 I use ctrl + d to put EOF in files. you can verify it through this code #includestdio.h int main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } if(c==EOF) printf(EOF Break); return 0; } On Sun, Jul 31, 2011 at 3:05 PM, Puneet Gautam puneet.nsi...@gmail.comwrote: Is it possible to terminate this code(except break) while it is executing..? For what eof will this terminate..? #includestdio.h main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } } Reply fast... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Abhishek Gupta MCA NIT Calicut Kerela -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Shashank Nayak -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.