Search:

Type: Posts; User: Jeffery1

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,190

    when i say text file i just mean put it into my...

    when i say text file i just mean put it into my program haha
  2. Replies
    4
    Views
    1,190

    how to do euclidian distance?

    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...
  3. Thanks heaps! everything works as i want it to...

    Thanks heaps! everything works as i want it to now. :D
  4. Here is the whole code with the error. ...

    Here is the whole code with the error.



    #include <stdio.h>

    #define VECTOR_LENGTH 3

    int main (void)
    {
  5. This is great! i understand the difference. The...

    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...
  6. How to prompt user to scan numbers into an array

    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...
  7. How to use ceil function (rounding up of numbers)

    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...
  8. Replies
    6
    Views
    1,021

    well lets assume i put + 0.999 into my program...

    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...
  9. Replies
    6
    Views
    1,021

    rounding of numbers using int identifier

    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...
  10. yeah thanks i fixed all the problems and it works...

    yeah thanks i fixed all the problems and it works fine now. Thanks to everyone who gave some input :)
  11. Error: I value required as left operand of assignment

    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...
Results 1 to 11 of 11