?? client.cc
字號:
/* * Client */#include "tricky.h"#include "tricky_impl.h"using namespace std;intmain (int argc, char *argv[]){ CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, "mico-local-orb"); CORBA::Object_var obj = orb->bind ("IDL:iface:1.0"); if (CORBA::is_nil (obj)) { cout << "oops: bind to iface failed" << endl; exit (1); } iface_var iface = iface::_narrow (obj); assert (!CORBA::is_nil (iface)); vt_var v = new vt_impl; v->x (1); derived_var d = new derived_impl; d->y (2); d->z (v); node_var n = new node_impl; n->next (n); iface->skipped_value (d, v); iface->shared_parameter (v, v); iface->cyclic (n); return 0;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -