Search:

Type: Posts; User: arcadedragon

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,470

    Ah, I should've mentioned for this assignment I'm...

    Ah, I should've mentioned for this assignment I'm not allowed to use srand for this assignment. but thank you.
  2. Replies
    7
    Views
    1,470

    Printing randomly generated numbers?

    Hello, I have a program here that must generate 256 random numbers between 20 and -20 and write them to a file, numbers.txt. Then I must print the first 10 numbers generated. However with the code I...
  3. I've switch everything and I'm being told A[i].x...

    I've switch everything and I'm being told A[i].x is of type * char? This is everything after I've edited it.
    And thanks for the tip about swap, I would've completely missed that.


    #include...
  4. I've made these changes but still won't accept...

    I've made these changes but still won't accept A[j].x or A[j]->x as integer types when I attempt to print them with %d. Any other advice?

    I wouldn't space out semi-colons, but my Professor...
  5. Trouble printing x and y values of struct points in an array?

    So I've got a program where I have to save a list of coordinate points into an array. I have to print the x and y coordinates of a specific point from the array but when I use %d it tells me it...
Results 1 to 5 of 5