Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~96 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for rob_l_f

Hi, I'm trying to grab all the input sent to cout to modify and redirect it. I used the example from [url]http://www.dreamincode.net/code/snippet2499.htm[/url], which works fine using the following code: [code] std::ofstream file_sink("encrypted.bin", std::ios_base::binary | std::ios_base::out); basic_xor_filter<char> filter(*(file_sink.rdbuf()), 0x7F); std::ostream output_stream(&filter); output_stream << "Hello World" << std::endl; output_stream.flush(); [/code] The class …

Member Avatar for jencas
0
96