Re: [algogeeks] Termination

2011-07-31 Thread Puneet Gautam
@Shashank Nayar: Thanks maan...! it worked.. On 7/31/11, Shashank Nayak wrote: > ctrl+z for win > > On Sun, Jul 31, 2011 at 3:18 PM, Abhishek Gupta > wrote: > >> 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 >> w

Re: [algogeeks] Termination

2011-07-31 Thread Shashank Nayak
ctrl+z for win On Sun, Jul 31, 2011 at 3:18 PM, Abhishek Gupta wrote: > 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 wrote: > >> ctrl+D doesnt work on dev , os windows 7... >> >> On 7/31/11, Puneet Gautam wrote: >>

Re: [algogeeks] Termination

2011-07-31 Thread Abhishek Gupta
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 wrote: > ctrl+D doesnt work on dev , os windows 7... > > On 7/31/11, Puneet Gautam wrote: > > Is the eof different for different OS's..? > > > > On 7/31/11, Abhishek Gupta wr

Re: [algogeeks] Termination

2011-07-31 Thread Puneet Gautam
ctrl+D doesnt work on dev , os windows 7... On 7/31/11, Puneet Gautam wrote: > Is the eof different for different OS's..? > > On 7/31/11, Abhishek Gupta wrote: >> compiler : gcc, OS : Fedora 15 >> >> I use ctrl + d to put EOF in files. >> >> you can verify it through this code >> >> #include >>

Re: [algogeeks] Termination

2011-07-31 Thread Puneet Gautam
Is the eof different for different OS's..? On 7/31/11, Abhishek Gupta wrote: > compiler : gcc, OS : Fedora 15 > > I use ctrl + d to put EOF in files. > > you can verify it through this code > > #include > int main(int argc,char *argv[]) > {int c; > while((c=getchar())!=EOF) >

Re: [algogeeks] Termination

2011-07-31 Thread Abhishek Gupta
compiler : gcc, OS : Fedora 15 I use ctrl + d to put EOF in files. you can verify it through this code #include int main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } if(c==EOF) printf("EOF Break"); return 0; } O

[algogeeks] Termination

2011-07-31 Thread Puneet Gautam
Is it possible to terminate this code(except break) while it is executing..? For what eof will this terminate..? #include main(int argc,char *argv[]) {int c; while((c=getchar())!=EOF) { putchar(c); } } Reply fast... -- You received this message becau