Search:

Type: Posts; User: Iambored

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    2,727

    Break it down into steps: Read in the sentence...

    Break it down into steps:

    Read in the sentence
    Identify were the words change
    reverse them

    functions that might help:
    fgets()
    strtok()
  2. Replies
    3
    Views
    4,896

    http://www.imgpresents.com/joy2mse/jtmfaq.htm

    http://www.imgpresents.com/joy2mse/jtmfaq.htm
  3. Thread: randoms...

    by Iambored
    Replies
    15
    Views
    2,899

    Well if you are compling a C program use gcc, if...

    Well if you are compling a C program use gcc, if you are compiling a c++ program use g++
  4. Thread: randoms...

    by Iambored
    Replies
    15
    Views
    2,899

    gcc compiles the code as C g++ compiles the code...

    gcc compiles the code as C
    g++ compiles the code as C++
  5. Thread: randoms...

    by Iambored
    Replies
    15
    Views
    2,899

    The problem is easily remedied by casting rand()...

    The problem is easily remedied by casting rand() to a float or double.


    return lowest_number + (int)( ((double)rand())/RAND_MAX );
Results 1 to 5 of 6