root/tests/testUI.cpp
@
86
Revision 82, 350 bytes (checked in by smidl, 17 years ago) | |
---|---|
|
Line | |
---|---|
1 | #include <itpp/itbase.h> |
2 | #include "userinfo.h" |
3 | |
4 | //These lines are needed for use of cout and endl |
5 | using std::cout; |
6 | using std::endl; |
7 | |
8 | int main() |
9 | { |
10 | uiscalar<double> uisc("Sc"); |
11 | uivec uiv("VEc"); |
12 | uistring uist("Str"); |
13 | uicompound uic(2); |
14 | |
15 | cout << uisc <<endl; |
16 | cout << uiv <<endl; |
17 | cout << uist <<endl; |
18 | |
19 | //Exit program: |
20 | getchar(); |
21 | return 0; |
22 | |
23 | } |
Note: See TracBrowser
for help on using the browser.