Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. string s;
  7. cin >> s;
  8. const int p = s.find("de");
  9. if (p != s.npos) {//aqui aparece la advertencia
  10. cout << p << endl;
  11. } else {
  12. cout << "No." << endl;
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement