Rahat,
I'm using the free Borland C++ 5.5 compiler/linker. The only thing I get is an error message that says, "Call to undefined function 'delay' in function main()". That is all that I get,...
Type: Posts; User: Guideon72
Rahat,
I'm using the free Borland C++ 5.5 compiler/linker. The only thing I get is an error message that says, "Call to undefined function 'delay' in function main()". That is all that I get,...
Thanks for the definitions, Procyon! Those were great. I am still getting "undefined function 'delay' in function main()" error when I try to compile this. It does this whether I do #include...
I can't help you with the problem above yet, but I would suggest picking up a different book. I have tried a couple different versions of the "teach yourself <blank> in however long it is books" and...
Wheeww!!! Well, I've tried several different ways to get void delay to work and I'm just not getting it. Here is what I have for the prog. so far:
____________________code__________________
...
Borland C++ 5.5
I wound up with a "call to undefined function in main" compiler error with that. Do I need to include an additional header file for sleep to work?
How would one go about creating a delay between the executions of a function? I have made a timer that counts down to zero from a number specified by the user. Unfortunately, it does it all at...
You are more or less correct on what "int" does. If you are going to use a variable(s) in your program, you need to tell the program what you are going to call them so it can look for them as it...
I just started working with it this week, myself. I have already received some great input from folks here, and finding a good book is a MUST. You can find several at a decent book store. Just...
Thank you :) That's what I needed.
What do those mean? I'm just learning C right noow and I don't know all of the commands yet.
Can I use a character string as a variable to get a program to do one action if a specific word is typed and a different action if another word is typed?
___________
#include <stdio.h>
int...
By the way, I just wanted to say thanks again for your help Quzah!
OHHHHHHHHHHHHHHH!!! Ok, now I get it. It was the part about the actual variable as listed in the beginning being, in effect, dynamic.
So, if I wanted to have another function call rate and...
I thought that because rate and hours are determined first that having the total in the declarations at the beginning would automatically assign the values that the user entered, and therefore...
Thanks for the tips! :) My only question is where in the code does the total=rate*hours go? That is what I was attempting to do up above, but it doesn't work there. Should it actually be located...
Ok, here's the whole thing...it's not pretty but it works(mostly)...
#include <stdio.h>
main()
{
char name[10];
float rate;
float hours;
float tax;
I need some help with my variables in C(the basic one, not that new fangled plus stuff) <grin>. I have successfully defined two variables and would like to have a third that is the product of...