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 <[email protected]>wrote:
> *this is a dump solution
> *
>
> On Thu, Mar 17, 2011 at 12:05 AM, [email protected] <[email protected]
> > 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 <[email protected]
>> > wrote:
>>
>>> @kumar Your example is still recursion
>>>
>>>
>>> On 16 March 2011 16:46, kumar anurag <[email protected]> wrote:
>>>
>>>> ok guys...
>>>>
>>>>
>>>> On Wed, Mar 16, 2011 at 9:54 PM, himanshu kansal <
>>>> [email protected]> 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 <
>>>>> [email protected]> 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 <
>>>>>> [email protected]> 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 [email protected].
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> [email protected].
>>>>>>> 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 [email protected].
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected].
>>>>>> 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 [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected].
>>>>> 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 [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> 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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.