📌  相关文章
📜  在线将 c++ 代码转换为 c - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:50.140000             🧑  作者: Mango

代码示例10
#include 
#include 
using namespace std;
  
void extractIntegerWords(string str)
{
    stringstream ss;    
  
    
    ss << str;
  
    
    string temp;
    int double found;
    while (!ss.eof()) {
  
        
        ss >> temp;
          if (stringstream(temp) >> found)
            cout << found << " ";
        temp = "";
    }