How can I set up a loop exit condition without using digits (in C++)?

 Dont Buy Textbooks. Rent 'EM Save 60-80%



Any expression which evaluates to true or false can be used as a loop exit condition.

How can I set up a loop exit condition without using digits (in C++)?c++ fstream



Use letters?

for (char ch='a';ch<'z';ch++)

cout << ch;

How can I set up a loop exit condition without using digits (in C++)?c++ operator overloading



while (K<'a'||k>'z') {

k=getch();

}



More Related Questions and Answers ...
  • Prove that the set {x,e^x,e^-x} is ..
  • I want to set all bit of my byte in string.....
  • Which agency can set a 5 star Hotel in Turkey..
  • How does a player expand in lineup availabili..
  • How can I get/set information from a Save As ..
  • If you smoke cigarettes around a p.c...How mu..
  • Is there n e way i can stop my brother from l..
  • When i set a combobox&#039;s SelectedValu..
  • I&#039;m using ms C++ 6.0 to wright C but..
  • How do I set the number of spaces between seg..
  • A uncountable set of +reals.Show for any real..
  • How to set background pictures or wall papers..
  • I want to install the program c:/programfiles..
  • I have a mini tea set, 6 piece with one tea p..
  • Iwould like to set up another e-mail address ..
  • C.h.r.i.s.t.m.a.s trees-When does your family..
  • Write a program in c++ to create files called..
  • How to prove that the set of all bijections f..
  • I want to set up a new e mail account not con..

  • The information post by website user , we not guarantee correctness.

    

    Dental Treatment Skin Whitening Skin Problems Skin Rashes Shoes