C++ compile error: has initializer but incomplete type

前端 未结 2 1911

I am coding in Eclipse and have something like the following:

#include 
#include 

void read_file(){
    char buffer[1025];
            


        
相关标签:
2条回答
  • 2020-12-15 02:46

    ` Please include either of these:

    `#include<sstream>`
    
    using std::istringstream; 
    
    0 讨论(0)
  • 2020-12-15 02:56

    You need this include:

    #include <sstream>
    
    0 讨论(0)
提交回复
热议问题