Search:

Type: Posts; User: scatterbrain

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    2,044

    Thanks for your help Adak and stahta01, I'll try...

    Thanks for your help Adak and stahta01, I'll try that out.

    CommonTater, thanks for that typical condescending forum-programmer response. That's unnecessary and not helpful at all, obviously my...
  2. Replies
    13
    Views
    2,044

    My profess. requires that we only pass portions...

    My profess. requires that we only pass portions of the array that are necessary for that particular task.
  3. Replies
    13
    Views
    2,044

    Passing PART of a 3D array

    Is there any way to pass only two dimensions of a 3D array.

    for arr[2][3][4], lets say I want to use [3] and [4] to calculate something, and i only need those dimensions. Say i want to pass it to...
  4. Replies
    5
    Views
    1,071

    I know it has something to do with a pointer to...

    I know it has something to do with a pointer to an array. and then for a 3D array it's a pointer to a pointer to an array...or something like that
  5. Replies
    5
    Views
    1,071

    No, not with malloc.

    No, not with malloc.
  6. Replies
    5
    Views
    1,071

    Looked Everywhere (Malloc)

    I have been desperately scouring the net for information on how to use malloc, and I seriously still don't even understand the concept behind it. I just want to create a 3D array with dimensions...
  7. Thanks man. That actually didn't work for me (or...

    Thanks man. That actually didn't work for me (or maybe I just didn't adjust my logic accordingly). But I got it to work by inserting break statements into the else statements. I'm still not sure why...
  8. A3K4

    So I have to write a program counting the sum of digits, and the number of characters in a string... it looks like this. Oh, and it has to use corecursive functions, so that's why I used it if it...
  9. Replies
    10
    Views
    5,869

    Finally solved the problem. Thanks laserlight,...

    Finally solved the problem. Thanks laserlight, you were right. And thank you to everyone else... Now I'm not even sure if the number generator was malfunctioning before, but it works now.

    ...
  10. Replies
    10
    Views
    5,869

    Okay, I wanted to see if only minimal code was...

    Okay, I wanted to see if only minimal code was necessary for me to be helped before I dropped this on you guys...


    #include<stdio.h>
    #include<time.h>
    #include<math.h>


    main(){
  11. Replies
    10
    Views
    5,869

    well, what makes me think I'm getting zero is...

    well, what makes me think I'm getting zero is that it's a guessing game . Whenever I input 000 as a guess, it gives me 3 correct prompts, one for the hundreds place, one for the tens place, and one...
  12. Replies
    10
    Views
    5,869

    Only getting 0; random number generator

    I keep getting 0 (I think) for my random number generator. I'm programming a guessing game where a number between 100 and 999 is generated and the user guesses the number.

    Here is my generator...
Results 1 to 12 of 12