Search:

Type: Posts; User: Von Fuzzball

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,684

    Ah, I'm sorry. I wasn't entirely sure, since the...

    Ah, I'm sorry. I wasn't entirely sure, since the problem I'm dealing with now is different.
  2. Replies
    2
    Views
    1,684

    Working with 'while' loop.

    Hi again everyone. So, I got past the segfault error in my code and now it compiles and returns an actual output. However, the output is backwards. For example, besides the numbers being off, the...
  3. I realized in the text version printed, there was...

    I realized in the text version printed, there was no ampersand in front of Mtot, but that was a previous problem long since fixed in my actual script. But I did make some rather silly mistakes. So...
  4. Ah, thank you, MK27! I remember my professor...

    Ah, thank you, MK27! I remember my professor briefly mentioning something about using gdb to debug programs, but he never really explained it. So after running my code through it, it tells me this...
  5. Oh, right. Here are the numbers I use in the...

    Oh, right. Here are the numbers I use in the problem for this code:

    Mtot = the total mass of the two galactic systems = 3762e39
    R = distance between the two galaxies = 0.45
    v = velocity of the...
  6. Help with 'Segmentation fault (core dumped)' error?

    Hey everyone. I'm new to C programming. I'm working on a little code of my own right now and it compiles fine, but after the user inserts some data and presses enter, this error pops up. Here's the...
Results 1 to 6 of 7