Still working out cgi variable stuff.
This commit is contained in:
1 parent
ab748802ee
commit
1542fbe218
4 files changed
+14
-2
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,11 @@
|
||||
#include <iostream>
|
||||
#include "../MString.h"
|
||||
|
||||
coreutils::ZString testcast(coreutils::ZString data) {
|
||||
std::cout << "in proc: " << data << std::endl;
|
||||
return data;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
// Literal string assignment tests.
|
||||
@@ -108,7 +113,13 @@ int main(int argc, char **argv) {
|
||||
|
||||
coreutils::MString test33 = test32.toBase64();
|
||||
std::cout << test33 << " from base64 " << test33.fromBase64() << std::endl;
|
||||
|
||||
|
||||
coreutils::ZString test34 = test31;
|
||||
std::cout << test31 << " to zstring " << test34 << std::endl;
|
||||
|
||||
test34 = testcast(test31);
|
||||
std::cout << test31 << " to zstring " << test34 << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user