[algogeeks] Re: find the output

2009-01-07 Thread Pratyush Tewari
!!!\n\n); printf (%s , modify (hello!!!..)); getch(); } then you will get the desired output .. although I would not recommend such method... use call by reference instead. Pratyush Tewari On Tue, Jan 6, 2009 at 1:47 PM, daizi sheng daizish...@gmail.com wrote: there is no expected output

[algogeeks] Re: Lucky numbers

2009-01-05 Thread Pratyush Tewari
above. 1 3 7 13 19 27 27 is not prime and a lucky number. So the method is fine. Pratyush Tewari On Mon, Jan 5, 2009 at 12:30 AM, Vijay Venkat Raghavan N mydeares...@gmail.com wrote: Guys this is wrong. Lucky number is basically a prime number if you observe the definition carefully

[algogeeks] Re: priority queue using C++ STL

2008-06-15 Thread Pratyush
, Jun 14, 2008 at 3:40 PM, Pratyush [EMAIL PROTECTED] wrote: I want to construct a min priority queue to hold class objects eg class vertex { public: vertex *parent; int value; vertex

[algogeeks] priority queue using C++ STL

2008-06-14 Thread Pratyush
I want to construct a min priority queue to hold class objects eg class vertex { public: vertex *parent; int value; vertex() { parent = NULL; value = rand();

[algogeeks] Operating System

2008-06-05 Thread Pratyush
Does anybody know if there is a reference manual or solutions to the exersises to The Design of the Unix Operating Systems by Maurice J Bach. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To

[algogeeks] Re: Using macro inside a macro

2008-04-21 Thread Pratyush
Thanks Gene... it solved my problem... Whats so abuse about this type of macro? On Apr 10, 6:36 am, Gene [EMAIL PROTECTED] wrote: On Apr 9, 8:07 am, Pratyush [EMAIL PROTECTED] wrote: I was trying to pass a macro inside a marco... eg #define ABC alpha #define XYZ(expr) #expr

[algogeeks] Using macro inside a macro

2008-04-09 Thread Pratyush
I was trying to pass a macro inside a marco... eg #define ABC alpha #define XYZ(expr) #expr int main() { printf( XYZ(ABC) should print alpha ); } .but the output is ABC should print alpha . What is the problem and what is the solution to do this? I hope my question is

[algogeeks] Request

2008-04-09 Thread Pratyush
Dear members please do not post any advertisements in the group. --~--~-~--~~~---~--~~ 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