Search:

Type: Posts; User: J-Camz

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,195

    The algorithm was done by a member of the class...

    The algorithm was done by a member of the class and the teacher approved of it so we just assumed it was correct but THANK YOU so much for all the help. It was very much appreciated. :D
  2. Replies
    8
    Views
    1,195

    Each student is suppose to have 1 score but the...

    Each student is suppose to have 1 score but the algorithm we got to work with set the array to 50.
  3. Replies
    8
    Views
    1,195

    I changed it to a float and now I'm getting the...

    I changed it to a float and now I'm getting the following errors.

    25 invalid operands to binary >
    27 incompatible types in assignment
    30 invalid operands to binary +


    I'm sorry if I'm...
  4. Replies
    8
    Views
    1,195

    i get the same errors when i declare it as a float

    i get the same errors when i declare it as a float
  5. Replies
    8
    Views
    1,195

    Help with C structures

    I just learned about c structures the other day but I can't seem to get them to work. It give the wrong result at the end.
    The warnings I'm getting are:
    In function `main':
    24 [Warning] comparison...
  6. Replies
    6
    Views
    2,170

    can I just declare the values that i need in main...

    can I just declare the values that i need in main and them pass them to the module by reference?
  7. Replies
    6
    Views
    2,170

    Confused as to how to pass back to main

    As the title states I'm a little confused as to how I'd pass some of the values within a module back to main. Someone please help me ASAP!

    Here is my main (it is incomplete) and a module within...
  8. Thread: Module Help!

    by J-Camz
    Replies
    10
    Views
    1,929

    THANK YOU SO MUCH FOR BEING SO PATIENT AND...

    THANK YOU SO MUCH FOR BEING SO PATIENT AND HELPFUL ! I GOT IT TO WORK. :D
  9. Thread: Module Help!

    by J-Camz
    Replies
    10
    Views
    1,929

    our teacher mentioned passing by reference so i...

    our teacher mentioned passing by reference so i did some research and attempted something but the program keeps asked for the slope instead of ending so i highly doubt i got it right.


    #include...
  10. Thread: Module Help!

    by J-Camz
    Replies
    10
    Views
    1,929

    well in class we were told that in order to...

    well in class we were told that in order to return more than 1 value from a module they can be placed in an array and the entire array returned. so the first element of all [] would always stored the...
  11. Thread: Module Help!

    by J-Camz
    Replies
    10
    Views
    1,929

    How would I return the values of the array in...

    How would I return the values of the array in readVal and make them available in the main?
    Also, I'm sorry if this is annoying but I started learning programming like last month so this is all new...
  12. Thread: Module Help!

    by J-Camz
    Replies
    10
    Views
    1,929

    Thank you very much, it solved the problem but...

    Thank you very much, it solved the problem but now that I got it to compile and run I have another problem.
    The program is suppose to ask for the car information and calculate the speed as long as...
  13. Thread: Module Help!

    by J-Camz
    Replies
    10
    Views
    1,929

    Module Help!

    I keep getting the following errors and I can't figure out what is wrong.
    22 [Warning] passing arg 1 of `readVal' from incompatible pointer type
    100 syntax error at end of input


    #include...
  14. Replies
    3
    Views
    1,367

    Help with Arrays!

    I just started programming a few months ago and we have a project for school with the following instructions.
    Read values of carModel, skidlength and roadSlope for a sequence of cases until the...
Results 1 to 14 of 14