damitha 2004/05/06 04:12:09
Modified: targets/axis/cpp linuser-guide.html linuser-guide.pdf
Log:
updates on release1.1
Revision Changes Path
1.9 +9 -5 ws-site/targets/axis/cpp/linuser-guide.html
Index: linuser-guide.html
===================================================================
RCS file: /home/cvs/ws-site/targets/axis/cpp/linuser-guide.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- linuser-guide.html 16 Apr 2004 16:29:50 -0000 1.8
+++ linuser-guide.html 6 May 2004 11:12:09 -0000 1.9
@@ -577,21 +577,25 @@
<p>Then fill the samples with the relevant business logics .</p>
<p>Then fill the main method in a file as follows</p>
<p>
+<strong>#include "Calculator.h"</strong>
+<br>
<strong>#include<stdio.h></strong>
<br>
<strong>int main()</strong>
<br>
<strong> {</strong>
<br>
-<strong> Calculator c;</strong>
+<strong> Calculator c;</strong>
+<br>
+<strong> int intOut;</strong>
<br>
-<strong> int result = c.add(20, 40);</strong>
+<strong> c.add(20, 40, intOut);</strong>
<br>
-<strong> printf("result is = %d", result);</strong>
+<strong> printf("result is = %d\n", intOut);</strong>
<br>
-<strong> return 0;</strong>
+<strong> return 0;</strong>
<br>
-<strong>}</strong>
+<strong> }</strong>
</p>
<p>Then build by<br>
<strong>cd $AXISCPP_HOME/samples/client</strong>
1.9 +66 -66 ws-site/targets/axis/cpp/linuser-guide.pdf
<<Binary file>>