<snip>
> size_t x, y;
> BString Name("Sudhansh Kumar Sharma");
> Block<BString> SplitData;
>
> Name.Explode(SplitData, ' ');
> y = SplitData.GetSize();
> if (y)
> {
> y--;
> for (x = 0; x < y; x++)
> SplitData[x] = SplitData[x].Left(1) + ".";
> }
> Name = BString::Implode(SplitData, ' ');
> printf("%s\n", *Name);
>
>
> <grin> (Let's see him explain that to his professor.
> Or even compile it in the first place. As long as no one
> tells the OP how to compile it, this is an excellent way
> to answer homework problems. It gives a working solution
> in C++, just nothing they are familiar with. Does this
> make me unreasonable...or just evil?)
Hm, interesting question...
1) Unreasonable?
Definitely not. This much is clear.
2) Evil?
Not for me.
Maybe slightly sarcastic, but that's o.k. in my opinion.
...I know, there's no need for you to share my opinion. ;-)
Thanks for making me laugh, Thomas, I well need that today.
Cheers,
Nico