Welcome! Log In Create A New Profile

Advanced

Hello world

Posted by bobj 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Hello world
March 23, 2006 09:45AM
vaughn preddy wrote:
> I was wondering for question 3 do we have to show the result in the
> client or server command prompt?

The client prompt.

>
> For the demo hello-1 how would one make it that it outputs the result on
> the client side?
>

You would need to change the idl so that it returns a string to the client and then the client would print that. There is a complete Hello World example (which does exactly this) on the Orbix cpp programmers guide web site at

http://www.iona.com/support/docs/e2a/asp/5.0/mainframe/pguide_cpp/html/

If you look at part 2 (getting started with Orbix) and try and ignore the Orbix specific stuff, the basic example would work pretty much the same with mico.

For the sake of variety you might also want to look at the java introductory "Hello World" example of much the same thing (at http://java.sun.com/j2se/1.4.2/docs/guide/idl/)

Cheers
Bob

(cross posted to forum)
Sorry, only registered users may post in this forum.

Click here to login