I am learning C++ and I was under the impression if you were to do an infinite while loop to do
However, my book says to use while(true)...I did learn the while(1) method in C programming, is "true" a new feature since it is apart of c++? Which should I use to fit among the norm?Code:int counter=0 while(1) { counter++; if(counter>10) { break; } }