0

Hello I'm trying to read files of file extension .obj or .txt and for certain characters using boost iostreams

How would I implement that using this current code as a basis

typedef ex::container_source<string>
                        string_source;
 
                          string                     input = "hello";
                          string                     output;
                          io::stream<string_source>  in(input);
                          getline(in, output);
                          assert(input == output);
 
                          cout << output << endl;

any help would be great thanks I've read the documentation but can't find anything really usefull for this kind of thing prehaps one of you out there can give me a helping hand

Edited by dakerao: n/a

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by dakerao
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.