Correct or Not or Old-fashioned or Bug
Zhou Mi
zhoumi at nff.ncl.omron.co.jp
Mon May 20 19:20:38 AEST 1991
When I am working in a project, I find that someone in my group write
the following program. Though it seems work well, I still wonder if it
is correct or better ??
-----file 1 (named pro_all.h) ---------
int i;
------file 2 (named pro_main.c) --------
#include "pro_all.h"
void main()
{
sub1();
sub2();
sub3();
}
--------- file 3 (named pro_sub1.c) --------
#include "pro_all.h"
void sub1()
{
i = 1;
}
--------- file 4 (named pro_sub2.c) ---------
#include "pro_all.h"
void sub2()
{
i++;
}
--------- file 5 (named pro_sub3.c) ---------
#include "pro_all.h"
void sub3()
{
i += 3;
}
If anyone has the result, please mail to me.
my E-mail address is:
zhoumi at nff.ncl.omron.co.jp
--
+------
From: Zhou Mi
||=======||{}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{}
||\ / ||{} Zhou Mi, RZE, Systems R&D LAB., OMRON Co. {}
|| \ / ||{} E-mail: zhoumi at nff.ncl.omron.co.jp {}
|| \/ ||{} TEL: 075-951-5111 x 3176 {}
|| /\ ||{}=============================================================={}
|| / ||{} What is AI ? This is the very question that AI machine can {}
||/ ||{} answer, but one can not !! {}
||=======||{}______________________________________________________________{}
More information about the Comp.lang.c
mailing list