c++ - How to use IStringStream to read from a file? -


i need read in expression file using string stream , convert expression form. having trouble figuring out how read lines file using istringstream. can me #includes , syntax this? thanks

#include <fstream>  std::ifstream file("filename.txt");  stufftype stuff; while(file >> stuff) {     // if here have read stuff. } 

Comments

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -