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



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