Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. while(getOut == false) {
  2.     if(!fLectura.eof()) {
  3.  
  4.         x = fLectura.peek();
  5.            
  6.         if((char)x != '#') {
  7.             /*Código*/
  8.         }
  9.         else {
  10.             getOut = true;
  11.         }
  12.     }
  13.     else {            
  14.         getOut = true;
  15.         /*Hace falta una comprobación más para que eof() de true, así que se elimina el último*/
  16.         megabot.intents[intentNum].examples.pop_back();
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement