class sample
{
    static int count;
    public:
             sample(){++count;cout<<count;}
};
int sample::count = 0;
int main()
{
   sample *p = new sample[10];
}

On Thu, Mar 17, 2011 at 1:51 PM, D.N.Vishwakarma@IITR <deok...@gmail.com>wrote:

> *this is a dump solution
> *
>
> On Thu, Mar 17, 2011 at 12:05 AM, gmagog...@gmail.com <gmagog...@gmail.com
> > wrote:
>
>> printf("1 2 3 4 5 6 7 8 9 10 11 12 13...................");
>>
>> no loop, no recursion, no define, no goto. HAHA : )
>>
>>
>>
>> On Wed, Mar 16, 2011 at 12:30 PM, Carl Barton <odysseus.ulys...@gmail.com
>> > wrote:
>>
>>> @kumar Your example is still recursion
>>>
>>>
>>> On 16 March 2011 16:46, kumar anurag <anurag.it.jo...@gmail.com> wrote:
>>>
>>>> ok guys...
>>>>
>>>>
>>>> On Wed, Mar 16, 2011 at 9:54 PM, himanshu kansal <
>>>> himanshukansal...@gmail.com> wrote:
>>>>
>>>>>
>>>>> class arr
>>>>> {static int i;
>>>>> public:
>>>>> arr()
>>>>> {
>>>>> cout<<i++;
>>>>> }
>>>>> };
>>>>> int arr::i=1;
>>>>>
>>>>> int main()
>>>>> {
>>>>> arr a[100];
>>>>>
>>>>> }
>>>>> On Wed, Mar 16, 2011 at 9:47 PM, kumar anurag <
>>>>> anurag.it.jo...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> using two different functions calling one another ?
>>>>>>
>>>>>> like
>>>>>> fun1()
>>>>>> {
>>>>>>   fun2()
>>>>>> }
>>>>>> fun2()
>>>>>> {
>>>>>>   fun1();
>>>>>>
>>>>>> }
>>>>>>
>>>>>>
>>>>>> On Wed, Mar 16, 2011 at 9:39 PM, D.N.Vishwakarma@IITR <
>>>>>> deok...@gmail.com> wrote:
>>>>>>
>>>>>>> *
>>>>>>> *
>>>>>>> --
>>>>>>> *With Regards
>>>>>>> Deoki Nandan Vishwakarma
>>>>>>> IITR MCA
>>>>>>> Mathematics Department
>>>>>>> *
>>>>>>>
>>>>>>>  --
>>>>>>> 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.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kumar Anurag
>>>>>>
>>>>>>  --
>>>>>> 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.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Kumar Anurag
>>>>
>>>> --
>>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>
>
> --
> *With Regards
> Deoki Nandan Vishwakarma
> IITR MCA
> Mathematics Department
> *
>
>  --
> 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.
>



-- 
thezeitgeistmovement.com

-- 
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.

Reply via email to