It's part of the language. It's as good as any to teach newbies how to use these new features IMHO.
This is a discussion on operating with vectors within the C++ Programming forums, part of the General Programming Boards category; It's part of the language. It's as good as any to teach newbies how to use these new features IMHO....
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.
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!!!!
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).
thanks for the help...
to run it continously.. i have to use a flag like a bool value.. inside the while and operations....