8 std::string fred(
"Fred");
12 "let's print 5 again %0\n" 13 "%1 looks much better in engineering notation %2\n" 14 "Sometimes I just want to print a %% sign like this %0%%\n" 15 "I think that shirt he's wearing fits %3 to a %4\n")
26 std::cout <<
SoDa::Format(
"ef = \n\t(f format) %0 or \n\t(g format) %1 or \n\t(s format) %2 or \n\t(e format) %3\n")
30 std::cout <<
SoDa::Format(
"int [%0] double f [%1] double g [%2] " 31 "double e [%3] string [%4] " 32 "char [%5] char6[%6] char7[%7] " 33 "char8[%8] char9[%9] char10[%10] char11[%11]\n")
49 double av = 6.02214076e23;
50 std::cout << sft.
addF(av,
's');
59 std::cout <<
"Here's how right thinking people write " 67 std::list<char> fs = {
'f',
'g',
's',
'e'};
69 for(i = 0; i < 8; i++) {
70 std::cout <<
"---------\n" << ef <<
"\n--------------\n";
73 for(
int p = 1; p < 4; p++) {