Check out example codes for "c++ while true". It will help you in understanding the concepts better.

Code Example 1

while (true) { // or 1/true
	//do stuff
}

Learn ReactJs, React Native from akashmittal.com