--- Represent/represent.cpp 2004/12/21 11:22:38 366 +++ Represent/represent.cpp 2004/12/21 11:24:26 367 @@ -78,30 +78,15 @@ int main(int argc, char* argv[]) { std::string hello("Hello, World!"); - _foreach (std::string, atom, hello) - { - std::cout << Binary(*atom) << " = " << *atom << std::endl; - } - - _fori (index, -10, 11) - { - std::cout << Binary(index) << " = " << index << std::endl; - } - - _foru (index, -10, 11) - { - std::cout << Binary(index) << " = " << index << std::endl; - } - - for (float index(-1.0); index < 1.0; index += 0.1) - { - std::cout << Binary(index) << " = " << index << std::endl; - } - - for (double index(-1.0); index < 1.0; index += 0.1) - { - std::cout << Binary(index) << " = " << index << std::endl; - } + _foreach (std::string, atom, hello) std::cout << Binary(*atom) << " = " << *atom << std::endl; + + _fori (index, -10, 11) std::cout << Binary(index) << " = " << index << std::endl; + + _foru (index, -10, 11) std::cout << Binary(index) << " = " << index << std::endl; + + for (float index(-1.0); index < 1.0; index += 0.1) std::cout << Binary(index) << " = " << index << std::endl; + + for (double index(-1.0); index < 1.0; index += 0.1) std::cout << Binary(index) << " = " << index << std::endl; std::string string("101001101001"); Binary binary(string, true);