It's part of the language. It's as good as any to teach newbies how to use these new features IMHO.
It's part of the language that is fairly unportable still and only when using specific flags to make compilers features that are still in beta mode. I've had g++ crash on me before for using the auto keyword (on a function, using it properly though).
So I can't advise anyone on using it yet until C++0x is a bit more widely developed.
I'll be damned if I have to wait on some buggy compiler to catch up before I can use the long-awaited C++0x. Not had a single crash (compiler crash) with VS2010. Therefore, I recommend that everyone use it (that is, if they can) until such time that more compilers mature.
You may disagree with this mythology, but it's my of doing things. So unless a newbie cannot, for some reason, use C++0x, I will suggest code that uses it. It also helps them prepare for the upcoming standard.
Hi
this algo is correct,
But you see sometimes the entire 2nd row if pushed into 1st row if all elements in 2nd row pass a test. So forloop is not advisable. I use while loop onle here.....
SO i want a better way to check for pushing elements and resizing the master array of 5 into 4 or lesser bsaed on the element shift. Its simple loic but i cant get the psuedo code...please help me!!!!
thanks
regards
KR
I agree with EvoEx on this one. The features are proposed for inclusion in a future standard and, given the way the standardisation process works, there is a risk a number of those proposed features will not be ratified, or there will be some changes to the manner in which they are eventually ratified. It is therefore misleading to suggest the features are "part of the language".
I certainly wouldn't advocate that any novice use such features. Experienced programmers, who are both willing to accept and able to manage the risks, may wish to use them (eg as a learning exercise, contributing to testing of the compiler).
hey
thanks for the help...
to run it continously.. i have to use a flag like a bool value.. inside the while and operations....
it helped
cheers!
regards
KR