I found out how to use it:
extern void eval();
Type: Posts; User: blue8173
I found out how to use it:
extern void eval();
Hi, I'm new to static libraries and am trying to use a static library in my code.
First, I created a static library, libfunc.a, using this code:
g++ -c math.cc
ar rcs libfunc.a math.o
I have...
> //Can I make this show the original amount that the user entered? ie. "To make change for 65 cents, you will need the following coins" ?
>printf("To make change for the amount you entered, you...
wait() and signal() are for condition variables. Basically you want the consumer to wait on the variable and "consume" whenever it is signalled. You also want the producer to signal on the...
For Question 2a, I don't think you need the for loop when you are calculating all the amounts in one loop.
Your code:
for (i=0; i<money; i+5) //really need help here :[
{
//FINDS HOW...
You can generate C header files from Java by:
> javah -jni file
Where file is your java class file after compiling the java source file.
That was the problem!!! Thanks for all your help!
Thanks, I got rid of the infinite loop problem....
but it seems like my program is only detecting a read on one of the file descriptors.
FD_ZERO(&rd1);
FD_SET(hdle1, &rd1); ...
Hi, Thanks for your help.
I tried to follow your advice, but I came across something strange.
fd_set rd1;
int hdle1 = setup(.....); //set up first source
int hdle2 = setup(.....); //set...
Hi,
I'm working on a project that requires listening and processing messages from multiple external sources.
My application is written in C and running on a Linux Read Hat 9 machine.
I...
Hi, I have been doing some investigation to connecting an Oracle 8.1 database with a C application. I've installed cygwin with gcc3.3.1 and want to use OCI to connect to my local Oracle database on...
Hi, I'm having trouble with the strcpy function:
In my program, I'm trying to see if the last character of the a character string, called charstring, is a backslash.
char ch =...