Re: [algogeeks] Print Hello

2011-03-16 Thread kumar anurag
@anurag good. On Wed, Mar 16, 2011 at 9:28 PM, Anurag atri wrote: > #include > using namespace std ; > class a > { > public : > a() { cout<<"hello";} > }a1; > int main() > { > } > > On Wed, Mar 16, 2011 at 8:25 PM, himanshu kansal < > himanshukansal...@gmail.com> wrote: > >> Ho

Re: [algogeeks] Print Hello

2011-03-16 Thread Anurag atri
#include using namespace std ; class a { public : a() { cout<<"hello";} }a1; int main() { } On Wed, Mar 16, 2011 at 8:25 PM, himanshu kansal < himanshukansal...@gmail.com> wrote: > How can u print "hello" in a c/c++ program without writing a single > word in main() function >

[algogeeks] Print Hello

2011-03-16 Thread himanshu kansal
How can u print "hello" in a c/c++ program without writing a single word in main() function -- 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, s

Re: [algogeeks] Print Hello infinite..................

2011-03-15 Thread DIPANKAR DUTTA
@All: it is not possible. as you your target program contain finite number of instraction and execute some instruction many times. what ever tips you are using in your high lavel program must convet to Assembly program contains some GOTO (ultimately all loop converted into JUMP call)or Use stack t

Re: [algogeeks] Print Hello infinite..................

2011-03-15 Thread Abhishek Sharma
@nidhi: yup.. u r rite.. sorry..my bad... On Thu, Mar 10, 2011 at 11:58 AM, Nishant Agarwal < nishant.agarwa...@gmail.com> wrote: > #include > void print1(); > void print2() > { > printf("Hello\n"); > print1(); > } > void print1() > { > printf("Hello\n"); > print2(); > } > int mai

Re: [algogeeks] Print Hello infinite..................

2011-03-15 Thread Abhishek Sharma
thanks a ton for the info... we didnt know about that :P... btw for ur info.. we are not supposed to use loops as well.. On Fri, Mar 11, 2011 at 7:10 PM, Abhishek Mallick < abhishek.mallick2...@gmail.com> wrote: > #include > int main() > { > while(printf("Hello")); > return 0; > } > > On Thu, Ma

Re: [algogeeks] Print Hello infinite..................

2011-03-11 Thread Arun prasath
int main(void) { inf_times: printf("Hello"); goto inf_times; return 0; } On Fri, Mar 11, 2011 at 7:46 PM, UMESH KUMAR wrote: > Hi > my question is without Loop and Recursion function using??? > > > On Fri, Mar 11, 2011 at 5:40 AM, Abhishek Mallick < > abhishek.malli

Re: [algogeeks] Print Hello infinite..................

2011-03-11 Thread UMESH KUMAR
Hi my question is without Loop and Recursion function using??? On Fri, Mar 11, 2011 at 5:40 AM, Abhishek Mallick < abhishek.mallick2...@gmail.com> wrote: > #include > int main() > { > while(printf("Hello")); > return 0; > } > > On Thu, Mar 10, 2011 at 11:58 AM, Nishant Agarwal < > nisha

Re: [algogeeks] Print Hello infinite..................

2011-03-11 Thread Abhishek Mallick
#include int main() { while(printf("Hello")); return 0; } On Thu, Mar 10, 2011 at 11:58 AM, Nishant Agarwal < nishant.agarwa...@gmail.com> wrote: > #include > void print1(); > void print2() > { > printf("Hello\n"); > print1(); > } > void print1() > { > printf("Hello\n"); > print2

Re: [algogeeks] Print Hello infinite..................

2011-03-09 Thread Nishant Agarwal
#include void print1(); void print2() { printf("Hello\n"); print1(); } void print1() { printf("Hello\n"); print2(); } int main() { print1(); } On Thu, Mar 10, 2011 at 11:47 AM, nidhi jain wrote: > > > @abhishek:isn't it recursion? > > -- > You received this message because y

Re: [algogeeks] Print Hello infinite..................

2011-03-09 Thread nidhi jain
@abhishek:isn't it recursion? -- 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 opt

Re: [algogeeks] Print Hello infinite..................

2011-03-09 Thread Abhishek Sharma
#include headers int main(){ printf("Hello"); main(); } On Mon, Mar 7, 2011 at 7:38 AM, Terence wrote: > system("yes Hello"); > (on Linux) > > > On 2011-3-7 2:09, sudheer kumar wrote: > > use GOTO > > On Sun, Mar 6, 2011 at 10:49 PM, UMESH KUMAR wrote: > >> How to print Hello Infinite times

Re: [algogeeks] Print Hello infinite..................

2011-03-08 Thread Terence
system("yes Hello"); (on Linux) On 2011-3-7 2:09, sudheer kumar wrote: use GOTO On Sun, Mar 6, 2011 at 10:49 PM, UMESH KUMAR > wrote: How to print Hello Infinite times without using Loop and Recursion function ? -- You received this message b

Re: [algogeeks] Print Hello infinite..................

2011-03-06 Thread sudheer kumar
use GOTO On Sun, Mar 6, 2011 at 10:49 PM, UMESH KUMAR wrote: > How to print Hello Infinite times without using > Loop and Recursion function ? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algo

[algogeeks] Print Hello infinite..................

2011-03-06 Thread UMESH KUMAR
How to print Hello Infinite times without using Loop and Recursion function ? -- 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 alg