Home |  About |  10 Commandments |  Prayers |  The Agilian Order |  Articles |  Gods

Follow @churchofagile


What's Waldo?

Navigate all the nasty boost:: namespaces that obfuscates the actual code you need to read to find the value of Waldo:

int main(int argc, char *argv[])
{

boost::uint32_t waldo = 7; BOOST_ASSERT(boost::karma::spirit::is_number(waldo)); printf("%p\n", boost::addressof(wal)); boost::tribool wal; printf("%p\n", boost::addressof(wal)); printf("%p\n", boost::addressof(wal)); BOOST_ASSERT(boost::karma::spirit::is_number(waldo)); printf("%c\n", boost::tolower(argv[0][0])); if (argv[0][1] == boost::spirit::ascii::space) { print boost::sqrt(waldo); } boost::tribool wal; printf("%c\n", boost::tolower(argv[0][0])); if (argv[0][1] == boost::spirit::ascii::space) { print boost::sqrt(waldo); } printf("%c\n", boost::tolower(argv[0][0])); if (argv[0][1] == boost::spirit::ascii::space) { print boost::sqrt(waldo); } BOOST_ASSERT(waldo > 1); BOOST_ASSERT(boost::karma::spirit::is_number(waldo)); BOOST_ASSERT(waldo > 1); BOOST_ASSERT(waldo > 1); boost::tribool wal; printf("%c\n", boost::tolower(argv[0][0])); printf("%p\n", boost::addressof(wal));waldo += 1; if (argv[0][1] == boost::spirit::ascii::space) { print boost::sqrt(waldo); } if (argv[0][1] == boost::spirit::ascii::space) { print boost::sqrt(waldo); } BOOST_ASSERT(waldo > 1); if (argv[0][1] == boost::spirit::ascii::space) { print boost::sqrt(waldo); } BOOST_ASSERT(boost::karma::spirit::is_number(waldo)); BOOST_ASSERT(boost::karma::spirit::is_number(waldo)); if (argv[0][1] == boost::spirit::ascii::space) { print boost::sqrt(waldo); } boost::tribool wal; boost::tribool wal; printf("%c\n", boost::tolower(argv[0][0])); printf("%p\n", boost::addressof(wal)); printf("%p\n", boost::addressof(wal)); boost::tribool wal; printf("%c\n", boost::tolower(argv[0][0])); BOOST_ASSERT(waldo > 1); BOOST_ASSERT(waldo > 1); printf("%c\n", boost::tolower(argv[0][0])); BOOST_ASSERT(boost::karma::spirit::is_number(waldo)); printf("%p\n", boost::addressof(wal)); BOOST_ASSERT(waldo > 1);printf("waldo=%d\n", waldo);

}

Enter the value of Waldo:

Have a question or comment about Agile? Send an email to Luthor The High Priest (luthor.priest@aol.com) and your question shall be answered. You can also follow us on Twitter https://twitter.com/churchofagile

Copyright 2023 - Luthor The High Priest