why does this give no response
   
  #include <string>
  #include <iostream>
  #include <fstream>
  #include <vector>
  using namespace std;
  
  int main() {
    vector<string> words;
    ifstream in("GetWords.cpp");
    string word;
    while(in >> word)
      words.push_back(word); 
    for(int i = 0; i < words.size(); i++)
      cout << words[i] << endl;
  } ///:~
  
  
  
  @sun [~/] % pico String1.cpp
  @sun [~/] % g++ String1.cpp
  @sun [~/] % a.out
  @sun [~/] %
  

       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!

[Non-text portions of this message have been removed]

Reply via email to