blob: cb98f265adb15b15f4ede7c7553a39528201daf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
$Id$
This is a record of code changes required to make the chapter 3
example in "Advanced CORBA Programming with C++" by Michi Henning
and Steve Vinoski work with TAO.
______________________________________________________
ESSENTIAL CHANGES:
1. changed filenames .cc to .cpp and .hh h, and modified
makefile and #includes in client.cpp server.cpp and server.h.
2. changed #include "Time.h" to #include "TimeC.h".
3. Moved standard #includes below local #includes, and
commented-out unnecessary #includes:
-client.cpp now reads:
#include "timeC.h"
#include <iomanip.h>
//#include <iostream.h>
-server.cpp now reads:
#include "server.h"
//#include <time.h>
//#include <iostream.h>
ADDITIONAL CHANGES:
4. added .in() to _var type parameters
-3 times in client.cpp for calls to is_nil() and _narrow()
-3 times in main() in server.cpp
for calls to _narrow(), object_to_string, and <<
|