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

anyone ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.