Search:

Type: Posts; User: GigTu

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,303

    It's probably just an exercise that squeezes in...

    It's probably just an exercise that squeezes in more than one lesson. I don't think it's meant to be efficient. I have a working code, I just need to get it to call the right set numbers and get my...
  2. Replies
    10
    Views
    1,303

    Thread 1 generates the number of Fibonacci...

    Thread 1 generates the number of Fibonacci numbers given by the command line ie: 0 1 1 2 3
    Thread 2 adds +1 to each of the numbers generated by thread 1 ie: 1 2 2 3 4
    Thread 3 subtracts -1 from...
  3. Replies
    10
    Views
    1,303

    "%d", fib[i]+1)" and "%d", fib[i]-1)" do not work...

    "%d", fib[i]+1)" and "%d", fib[i]-1)" do not work when i insert them into the threads, but then neither does my original function of first + second = next .....etc etc etc
  4. Replies
    10
    Views
    1,303

    Hi manasij, No, I need to have one thread spit...

    Hi manasij,

    No, I need to have one thread spit out the fib sequence, another is fib number plus 1, a third thread to calculate fib minus 1.

    They should match up, or be parallel to the...
  5. Replies
    10
    Views
    1,303

    Multiple Threads - computing

    Hi. I have been assigned a task that has me stumped. I am to create 3 threads, parent and children, using the fibonacci sequence. I have two problems.


    1) The first is getting my functions to...
Results 1 to 5 of 5