Search:

Type: Posts; User: thestrap

Search: Search took 0.00 seconds.

  1. Thread: Double print

    by thestrap
    Replies
    1
    Views
    1,674

    Double print

    this thing seems to run twice? does anyone see why? I dont want the zeros at the end

    i use the data file

    a e i o u A E I O U


    help!
  2. Thread: Seg Fault

    by thestrap
    Replies
    4
    Views
    1,353

    Ok, i took out the comma operator and it...

    Ok, i took out the comma operator and it runs.....but i needed the *to get the averagre tests per search. Any ideas on how to write a correct while statement with a comma operator?
  3. Thread: Seg Fault

    by thestrap
    Replies
    4
    Views
    1,353

    Seg Fault

    Im about sick and tired of this....segmentation fault, cant find it. I enter 3 numbers from a data file. Lower limit of range of random values, Upper limit, number of searches. Please help.

    Main...
  4. Replies
    2
    Views
    1,352

    This is what i have for(i=0;i

    This is what i have




    for(i=0;i<nos;i++)
    {
    randx=(((rand())%range)+lo);
    count=0;
    for(j=0;j<100;j++)
  5. Replies
    2
    Views
    1,352

    please help (sequential search)

    Ive brought an array into this function of 100 indexes. I need a way to search each cell with a random number "randx"into the array, and count the number of successful searches. Nos is number of...
  6. Replies
    2
    Views
    2,221

    Random Number Array

    How does one set up an array of specific size, say 50 indexes, to have random variables in each index? Can't find how to do this.

    Thanks
  7. Replies
    15
    Views
    3,163

    This is like reading japanese to me.....however...

    This is like reading japanese to me.....however circ and cric are different, the human eye reads the first and last leter of the word and gathers the filler without any thought. I read over the the...
  8. Replies
    15
    Views
    3,163

    sorry, idk why i wrote july 4th, i did it last...

    sorry, idk why i wrote july 4th, i did it last night


    and im not sure who nightsky is ~twomers

    cliff
  9. Replies
    15
    Views
    3,163

    Is this a condescending remark??? im just...

    Is this a condescending remark???

    im just starting with this stuff man. This is just a ciriculum requirement, not my life. I need help, not you trying to show your balls on the board.

    Cliff
  10. Replies
    15
    Views
    3,163

    thank you so much! its amazing how one stupid...

    thank you so much!

    its amazing how one stupid thing can ruin the whole thing.
  11. Replies
    15
    Views
    3,163

    sorry, i failed to read about the code tags i...

    sorry, i failed to read about the code tags

    i promise never to do that again

    -Cliff
  12. Replies
    15
    Views
    3,163

    Problems compiling basic program

    Hey guy,

    Im an engineering student who just started a programing class concerning C.

    Our first assignment was to write a basic program to calculate the area of a circle by the given guidlines....
Results 1 to 12 of 12