ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Represent/Represent.cpp
(Generate patch)

Comparing Represent/Represent.cpp (file contents):
Revision 370 by douglas, 2004-12-21T22:04:06-08:00 vs.
Revision 371 by douglas, 2004-12-21T23:19:54-08:00

# Line 4 | Line 4
4   //
5   // $Id$
6  
7 < #include "Binary.hpp"
7 > #include "Hexadecimal.hpp"
8  
9   #include <menes-app/simple.hpp>
10  
# Line 21 | Line 21 | Represent::Represent()
21          Binary sign(string, true), unsign(string, false);
22  
23          api::Cerr << string << ios::NewLine << ext::String(sign) << ios::NewLine << ext::String(unsign) << ios::NewLine;
24 +
25 +        string = "deadbeef";
26 +
27 +        Hexadecimal test(string, false);
28 +
29 +        api::Cerr << string << ios::NewLine << ext::String(test) << ios::NewLine;
30 +
31 +        Hexadecimal sign_(sign), unsign_(unsign);
32 +
33 +        api::Cerr << ext::String(sign_) << ios::NewLine << ext::String(unsign_) << ios::NewLine;
34   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines