Search:

Type: Posts; User: verd

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    2,284

    Right. Thank you. How would I reset num and...

    Right. Thank you. How would I reset num and count? Wouldn't I have to then reset bin as well??

    ...Do I just do a num=0; or something?


    Thanks!
  2. Replies
    11
    Views
    2,284

    No, I understand that. And yes, I have written...

    No, I understand that. And yes, I have written several programs that have allowed me to use the pow function. I have reason to believe that it has something to do with the compiler. I've tried the...
  3. Replies
    11
    Views
    2,284

    Even when I change the bin variable to a double...

    Even when I change the bin variable to a double number, 2.0, I still get the error.
  4. Replies
    11
    Views
    2,284

    Hey, Thanks for all of the suggestions, but...

    Hey,

    Thanks for all of the suggestions, but I'm still getting the same error. ...I don't know what to do. I just want to get past this problem with the pow function.

    Thanks!
  5. Replies
    11
    Views
    2,284

    Hey, Thanks for responding... I tried your...

    Hey,

    Thanks for responding... I tried your suggestions, both the int in the main() and making the pow a double, but neither seem to be working. I still get the same error.

    Any ideas?

    Also,...
  6. Replies
    11
    Views
    2,284

    Problem With Pow Function, Help?

    Hey...

    So I'm having a bit of difficulty with a program I've put together, and it all seems to be surrounding the pow function. I can't even do a simple pow(2,2) without getting an error. And I...
  7. Okay, I just figured out why I was getting such...

    Okay, I just figured out why I was getting such ridiuclous values for the mean and standard deviation.

    I needed to set sum and sum_sqr to 0, initially. That fixed everything. ...Now on to new...
  8. Student Having Problem With Reference Parameters

    Alright, so... I've got a program that needs to find the mean and standard deviation of a number of scores that are inputted by the user.

    Of course, for this assignment, I need to use arrays and...
  9. Replies
    4
    Views
    1,251

    Woo, okay. Thank you, first of all. The a...

    Woo, okay.

    Thank you, first of all.

    The a and b will always equal 0.0 and 1.0... According to my problem statement, I must also use a variable for both a and b... (a and b are supposed to be...
  10. Replies
    4
    Views
    1,251

    Student Looking for Help Again.

    Hey,

    First off, I want to thank everyone for helping me so much. (I've discovered that programming really isn't my thing-- and you guys have really been helping me through it by helping me to fix...
  11. Replies
    12
    Views
    7,528

    Yeah... So... I had the correct answer on the...

    Yeah... So... I had the correct answer on the mac, and then hopped onto the pc. Something happened, for some reason, the c file got messed up in transit, and I pretty much had to rewrite it. What was...
  12. Replies
    12
    Views
    7,528

    I forgot to include my new code, sorry: ...

    I forgot to include my new code, sorry:


    #include <stdio.h>

    #define a 3.592
    #define b .0427
    #define R .03206
    #define mL_L .001
  13. Replies
    12
    Views
    7,528

    Alright, cool... So I fixed the scanf, and ran...

    Alright, cool... So I fixed the scanf, and ran the code through a windows compiler (I was running it through the gcc compiler on a mac). The program runs and quits.... I've had this problem before,...
  14. Replies
    12
    Views
    7,528

    Wow. That fixed everything Thank you... ...

    Wow. That fixed everything

    Thank you...

    Now what exactly was happening, I don't quite understand.

    The user inputted milliliters for Vol, and in order to make the calculation, Vol needed to...
  15. Replies
    12
    Views
    7,528

    It obviously seems like I'm doing something wrong...

    It obviously seems like I'm doing something wrong with my loop...


    for(Vol = initialVol; Vol <= finalVol; Vol += Volincrement)

    This is what the above code, as far as I know, translates into:...
  16. Replies
    12
    Views
    7,528

    Alright, I'll try that... However, I don't quite...

    Alright, I'll try that... However, I don't quite understand what that means... Are you telling me not to use the variable Vol?

    I don't understand- sorry, I'm quite a beginner...





    I...
  17. Replies
    12
    Views
    7,528

    Help! Right Math, Wrong Output

    Hey everybody,

    I'm having trouble again- I'm a beginning programming student in a C For Engineers class.... And right now we're working on for loops... But for some reason, the program isn't doing...
  18. Replies
    2
    Views
    2,070

    Unknown Math Function

    Hey,

    Alright, right now, I'm having trouble figuring out how to do a little math problem with doubles.

    I need to divide two real numbers, and take the fractional remainder of the two numbers...
  19. Replies
    4
    Views
    1,730

    Idiot Trying To Write A Simple Program

    Hey, I'm back, and I have another simple problem that I am having trouble resolving.
    The following program is going to yield a messed up answer, I know, but I just want to get it to compile...
    ...
  20. Thread: Confused Student

    by verd
    Replies
    27
    Views
    5,085

    That about sums it up, thanks for all of your...

    That about sums it up, thanks for all of your help!
  21. Thread: Confused Student

    by verd
    Replies
    27
    Views
    5,085

    Thanks for the help- I pretty much have that...

    Thanks for the help-

    I pretty much have that terminating thing resolved, for the most part.

    Does anyone have any information on how to do the thing with the input? ...Where I would have 4...
  22. Thread: Confused Student

    by verd
    Replies
    27
    Views
    5,085

    Alright, so I finally got Dev-C++ (many mirrors...

    Alright, so I finally got Dev-C++ (many mirrors are down.)

    It's much simpler when it comes to C than VS.NET. ...However, when I compile and run the program, it closes immediatley after I input all...
  23. Thread: Confused Student

    by verd
    Replies
    27
    Views
    5,085

    Okay, another little bit of information... I...

    Okay, another little bit of information...

    I was previously compiling and executing the file on a mac. Now, I've tried it in Visual Studio as well as in Mircacle C, and it seems as if I'm getting...
  24. Thread: Confused Student

    by verd
    Replies
    27
    Views
    5,085

    Hi, Again, thanks for all of the help... But...

    Hi,

    Again, thanks for all of the help... But a new problem has arisen, and I don't quite know how to go about it. (Like I mentioned earlier, we have no book, and some things are very unclear in...
  25. Thread: Confused Student

    by verd
    Replies
    27
    Views
    5,085

    Thanks for all of your help- I now have my...

    Thanks for all of your help-

    I now have my first (strange) working program.
    I've added a couple of things to it- so now, instead of it just giving you an answer in seconds, it gives you both an...
Results 1 to 25 of 28
Page 1 of 2 1 2