home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
FOXPRO
/
C-FOR
/
TT.C
< prev
next >
Wrap
Text File
|
1992-05-05
|
2KB
|
38 lines
/* Albert Alexander Bukoski
Tonight was one of those nights where I had to many diet colas (2 super big
gulps actually of MT. DEW. A cheap jolt cola) and I am flying off
the walls on caffiene(Lets see now, i before e exep...) I was playing
around with the idea that if you can call C from force, can you call force
from C? I did it. If I also were to tell Scott or Jared or that that matter
anybody else, they would think these earthquakes are affecting me.
So here is the proof. Compile in Turbo C 2.0. Large model of course. Include
the PRJ file and you got it. Now just to be safe. I will use different
two values to make sure it really works. The first value will be 215 X 10( I
won't insult you) and the next one will be 22 X 1879 (41338).
So what? So replace C with force? Nope, open up for different methods
to do it. I am trying to find somebody with pascal and try to call
pascal from force. Any with time on there hands, I am sure there is a
great market for C libraries. Imagine force compiled object modules for C.
NA. The C guys would define themselves to death. I can see tech support
going after my head now. Sorry dave and jason. For heavens sake, don't
bother them with this. I am sure somebody out there can run use this.*/
#include "d:\tc\include\stdio.h"
unsigned int test(int, int );
main()
{
unsigned int work;
work = test( 215,10);
printf("The result is: %u ", work);
work = test(22,1879);
printf("The result is: %u ", work);
}