Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: brunofeu
  • Content: Threads
  • Order by date
  1. brunofeu

    make for-loop stop when it reaches the end of a string

    Question 1) #include <iostream.h> void main (void){ char word [50]; cin >> word; for (int i=0;word[i]!='ENTERLETTERHERE';i++){ cout << word[i] << &quot; &quot;; } } there should be some letter or maybe a \letter that, when replacing the ENTERLETTERHERE part of this code, works. What I...

Part and Inventory Search

Back
Top