git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipdf.h and Real type
[ipdf/code.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
e683564
..
5b8d4b8
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-1,7
+1,14
@@
#include "common.h"
+#include "ipdf.h"
+
+using namespace std;
+using namespace IPDF;
+
int main(int argc, char ** argv)
{
- Debug("It's alive!");
+ Real a = 10;
+ Real b = 20;
+ Debug("a*b = %f", RealToFloat(a*b));
return 0;
}
UCC
git Repository :: git.ucc.asn.au