Para procesar y descartar manualmente el espacio blanco puedes utilizar el manipulador "noskipws", por ejemplo:
- #include <iostream> 
- using std::cout; 
- using std::endl; 
- using std::noskipws; 
-   
- #include <fstream> 
- using std::ifstream; 
-   
- #include <cctype> 
-   
- int main() 
- { 
-    ifstream entrada("Entrada.txt"); 
-    entrada >> std::noskipws; 
-   
-    bool descartar = false; 
-    char ch; 
-    while (entrada >> ch) { 
-       if (!descartar) { 
-             cout << ch; 
-          else { 
-             cout << endl; 
-             descartar = true; 
-          } 
-       } 
-   
-       if (ch == '\n') 
-          descartar = false; 
-    } 
-    entrada.close(); 
-   
-    return 0; 
- } 
Una mejor opcion como ya indico 
.:BlackCoder:. es utilizar la funcion miembro "ignore", por ejemplo:
- #include <iostream> 
- using std::cout; 
- using std::endl; 
-   
- #include <fstream> 
- using std::ifstream; 
-   
- #include <limits> 
- using std::numeric_limits; 
-   
- #include <string> 
- using std::string; 
-   
- int main() 
- { 
-    ifstream entrada("Entrada.txt"); 
-    string palabra; 
-   
-    while (entrada >> palabra) { 
-       cout << palabra << endl; 
-       entrada.ignore(numeric_limits<int>::max(), '\n'); 
-    } 
-    entrada.close(); 
-   
-    return 0; 
- } 
Un saludo