Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

linking the executable

0 views
Skip to first unread message

rudra

unread,
Jan 2, 2009, 11:40:52 PM1/2/09
to
hello friends,
i have at last created a wonderful code that has 3 executable in 3
directory. to run the code, i actually have to run this three
seperately in 3 procs. seperately.
is there any way of linking the executable ?

Terence

unread,
Jan 3, 2009, 6:12:24 AM1/3/09
to

An executabe is already linked.

Any executable consists of ONE main program and zero to several
subprograms.
You can not have more than one main program in an executable.

Your objective seems that you wish to be able to execute the three
separate codes from one executable.
You can only do this by two methods
a) Writing one main program that calls any of ypur three executable by
name as "daughter" programs. OR
b) Build a new main program with the blocks of code from the other
programs as subroutines themselves.

0 new messages