Hello again,
Why does this:
char h[256] = { "happyhappyhappy" };
StringSource ( h, true, new FileSink( "George.txt" ) );
fill George with happiness while this:
byte i[256] = { "joyjoyjoy" };
StringSource ( i, true, new FileSink( "John.txt" ) );
does not fill John with joy (the only diffenence is the data type of h
and i)
And why is the output from this:
char j[256] = { "laughter" };
StringSource k( j, false, new
FileSink( "Harry.txt" ) );//.PumpAll();
if( !k.AnyRetrievable() )
std::cout << "Nothing there" << endl;
if( !k.AnyMessages() )
std::cout << "No Messages" << endl;
if( !k.MaxRetrievable() )
std::cout << "No bytes" << endl;
if( !k.SourceExhausted() )
std::cout << "Stuff Available" << endl;
this:
Nothing there
No Messages
No bytes
Stuff Available
Sorry for asking the basic stuff but got to start somewhere and can't
find anything in the docs...
Patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---