when i say text file i just mean put it into my program haha
Type: Posts; User: Jeffery1
when i say text file i just mean put it into my program haha
how would i go about writing up an equation for euclidian distance using c language. I am quite unfamiliar with the syntax's involved using squared and square roots.
the equation for euclidian...
Thanks heaps! everything works as i want it to now. :D
Here is the whole code with the error.
#include <stdio.h>
#define VECTOR_LENGTH 3
int main (void)
{
This is great! i understand the difference. The only problem that i now have is when i try to compile it i get the error:
"error: expected expression before ‘{’ token"
this error is on...
I am fairly new to c language and i need to prompt the user of my program to input numbers into an array so that later on these numbers can be added or subtracted with other numbers to form a new...
Hello, so i have an assignment which i have done everything i need for except that i need to make sure that any number entered which isnt an interger is rounded up to the nearest whole interger. I...
well lets assume i put + 0.999 into my program and then when the user inputs a number they use 3.0001 then it would still come up as 3.9991 which is then rounded to 3. I know this is very trivial i...
I have an assignment for uni which requires the program to ask the user to input a number in for a variable to use in later equations.
The assignment specifies that if the number that is input into...
yeah thanks i fixed all the problems and it works fine now. Thanks to everyone who gave some input :)
I am getting this error when compiling my program with quincy:
Error: I value required as left operand of assignment
Tthe program is meant to calculate how much parking costs based on the amount of...