Happy birthday!! I wish you all the best! :wave:
Printable View
Happy birthday!! I wish you all the best! :wave:
Happy Birthday to you :)!!!
Have a wonderful time:wave:
Wish u a many many happy returns of the day
:wave: :thumb:
Happy Birthday... :)
:wave::wave::wave:Happy Birthday.....:wave::wave::wave:
Thank you very much.
I am happy to see that so many people thought about my birthday.
You are so nice.
:)
How did you understood that SuperKoko is not my real name? :DQuote:
Originally Posted by exterminator
My real name is Gillibert
And my first name is André
Yes, there is a non-ASCII character in my first name : 'é'
Moreover the character code is not the same in the DOS OEM table and in the Windows character table.
And "Gillibert" contains 9 characters. That is not a short name. :D
Fortunately is does not make my life harder.
Code:#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
class Happiness
{
Happiness *happiness;
public:
Happiness():happiness(this) {}
};
class ThanksClass
{
public:
// constructors
template <class Iterator>
ThanksClass(Iterator begin,Iterator end);
ThanksClass(const char * const *GoodPeopleArray,std::size_t size);
Happiness ThanksThem();
Happiness ThanksThemThousandTimes();
Happiness ThanksThemManyTimes(unsigned long ThanksCount);
private:
std::vector<std::string> mGoodPeople;
class ThanksSomebodyFunctor
{
public:
void operator()(const std::string& Somebody);
};
};
void ThanksClass::ThanksSomebodyFunctor::operator()
(const std::string& Somebody)
{
std::cout<<"Thank you very much "<<Somebody<<"!"<<std::endl;
}
template <class Iterator>
ThanksClass::ThanksClass(Iterator begin,Iterator end)
:mGoodPeople(begin,end)
{
}
ThanksClass::ThanksClass(const char * const *GoodPeopleArray,std::size_t size)
{
mGoodPeople.resize(size);
std::copy(GoodPeopleArray,GoodPeopleArray+size,mGoodPeople.begin());
}
Happiness ThanksClass::ThanksThem()
{
for_each(mGoodPeople.begin(), mGoodPeople.end(), ThanksSomebodyFunctor());
return Happiness();
}
Happiness ThanksClass::ThanksThemManyTimes(unsigned long ThanksCount)
{
for(unsigned long i=0;i<ThanksCount;++i)
ThanksThem();
return Happiness();
}
Happiness ThanksClass::ThanksThemThousandTimes()
{
return ThanksThemManyTimes(1000UL);
}
int main()
{
static const char* GoodPeopleNames[]=
{
"Ejaz", "Marc G", "NoHero", "exterminator"
, "cilu", "Skoons", "YourSurrogateGod", "golanshahar"
, "Max Payne", "mehdi62b", "mrRee", "cegparamesh"
, "Naumaan", "HanneSThEGreaT", "Hobson", "logan"
, "Shuja Ali", "humptydumpty", "Siddhartha", "sunnypalsingh"
};
ThanksClass thanks(GoodPeopleNames,sizeof(GoodPeopleNames)/sizeof(GoodPeopleNames[0]));
thanks.ThanksThemThousandTimes();
return 0; // nothing can fail. :)
}
Code:#include <stdio.h>
void Thanks(const char* GoodPeopleName)
{
printf("Thank you very much %s\n",GoodPeopleName);
}
void ThanksThem(const char*const* GoodPeoples, size_t GoodPeopleCount)
{
size_t i;
for(i=0;i<GoodPeopleCount;++i)
Thanks(GoodPeoples[i]);
}
void ThanksThemManyTime
(const char*const* GoodPeoples, size_t GoodPeopleCount, unsigned long TimesCount)
{
while(TimesCount!=0)
{
ThanksThem(GoodPeoples,GoodPeopleCount);
--TimesCount;
}
}
int main()
{
static const char* GoodPeopleNames[]=
{
"Ejaz", "Marc G", "NoHero", "exterminator"
, "cilu", "Skoons", "YourSurrogateGod", "golanshahar"
, "Max Payne", "mehdi62b", "mrRee", "cegparamesh"
, "Naumaan", "HanneSThEGreaT", "Hobson", "logan"
, "Shuja Ali", "humptydumpty", "Siddhartha", "sunnypalsingh"
};
ThanksThemManyTime(
GoodPeopleNames
,sizeof(GoodPeopleNames)/sizeof(GoodPeopleNames[0])
,1000
);
return 0;
}
Code:Dim GoodPeople$(19)
Dim GoodPeopleCount%, i%, Times%
GoodPeopleCount%=20
GoodPeople$(0)="Ejaz"
GoodPeople$(1)="Marc G"
GoodPeople$(2)="NoHero"
GoodPeople$(3)="exterminator"
GoodPeople$(4)="cilu"
GoodPeople$(5)="Skoons"
GoodPeople$(6)="YourSurrogateGod"
GoodPeople$(7)="golanshahar"
GoodPeople$(8)="Max Payne"
GoodPeople$(9)="mehdi62b"
GoodPeople$(10)="mrRee"
GoodPeople$(11)="cegparamesh"
GoodPeople$(12)="Naumaan"
GoodPeople$(13)="HanneSThEGreaT"
GoodPeople$(14)="Hobson"
GoodPeople$(15)="logan"
GoodPeople$(16)="Shuja Ali"
GoodPeople$(17)="humptydumpty"
GoodPeople$(18)="Siddhartha"
GoodPeople$(19)="sunnypalsingh"
For Times%=0 To 999
For i%=0 To GoodPeopleCount%-1
Print "Thank you very much "; GoodPeople$(i%)
Next i%
Next Times%
Code:(define good-people (quote ("Ejaz" "Marc G" "NoHero" "exterminator" "cilu" "Skoons" "YourSurrogateGod" "golanshahar" "Max Payne" "mehdi62b" "mrRee" "cegparamesh" "Naumaan" "HanneSThEGreaT" "Hobson" "logan" "Shuja Ali" "humptydumpty" "Siddhartha" "sunnypalsingh")))
(define (Thanks somebody)
(display "Thank you very much ")
(display somebody)
(newline))
(define (ThanksEverybody)
(for-each Thanks good-people))
(define (DoManyTimes n Action)
(let loop ((n n))
(if (= 0 n) (void)
(begin (Action) (loop (- n 1))))))
(DoManyTimes 1000 ThanksEverybody)
That was some effort that can't be rated... ;)
Wooaaa :eek: you really have some time to spare ;)
The scheme/lisp version seems the most compact version ;)
Oh..that was some effort...by the way...SuperKoko doesnt seems like a human name of a french guy as such...seems more like a game name.. :D
By the way...how many years did you lose until now??? 24?
Cheers... :thumb: :wave:
exterminator doesn't sound like a human name either ;)Quote:
Originally Posted by exterminator
:lol: That's an interesting way to ask it :DQuote:
Originally Posted by exterminator
@ SuperKoKo: Just for the sake of curiosity, in your profile, it is mentioned that you are a medical student. Is it correct? :ehh: :confused:
Yeah...and that why I asked him his name...you could ask my name Marc...Its Abhishek Padmanabh actually ...it is there on this post - Meaning Of Your Username - Exterminator. Hope this helps :D . Regards.Quote:
Originally Posted by Marc G
In that case, exterminator is easier to pronounce ;)Quote:
Originally Posted by exterminator
:D yeah..but so is abhishek... btw my last name is what gives my name the uniqueness... otherwise abhishek is a quite common name here in India... :)Quote:
Originally Posted by Marc G