/[cvs]/api/Classes/Examples/String/StringTest9.cpp
ViewVC logotype

Annotation of /api/Classes/Examples/String/StringTest9.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Sun Jul 1 20:47:58 2001 UTC (23 years ago) by bearsoft
Branch: lazy, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
First import

1 bearsoft 1.1 #include "../../String/String.h"
2     #include "../../String/StringInput.h"
3     #include "../../String/ConfigInput.h"
4     #include "../../System/System.h"
5     #include "StringTest9.h"
6     #include "../../System/SystemDefine.h"
7    
8    
9     StringTest9::StringTest9(){}
10     StringTest9::~StringTest9(){}
11    
12     void StringTest9::run()
13     {
14     ConfigInput *configInput = new ConfigInput();
15    
16     configInput->readFile("data/config.txt");
17    
18     // System::println(configInput->getData(0,0));
19    
20     String type="arne";
21     String key="olle";
22    
23     System::println(configInput->getData(type,key));
24    
25     String type2="matrix";
26     String key2="nonHuman";
27    
28     System::println(configInput->getData(type2,key2));
29    
30    
31    
32     delete configInput;
33    
34    
35     }

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26