الـسلام عليكم ورحمة الله
أحتاج لـ المساعدة في عمل multithreaded لـ حساب متسلسلة الفيبوناتشي ..
إليكم التفاصيل :
Write a multithreaded program that generates the Fibonacci series using
either the Java, Pthreads, or Win32 thread library. This program should
work as follows: The user will enter on the command line the number
of Fibonacci numbers that the program is to generate. The program will
then create a separate thread that will generate the Fibonacci numbers,
placing the sequence in data that is shared by the threads (an array is
probably the most convenient data structure).When the thread finishes
execution, the parent thread will output the sequence generated by the
child thread. Because the parent thread cannot begin outputting the Fibonacci
sequence until the child thread finishes, this will require having
the parent thread wait for the child thread to finish
أي :
كتابة برنامج لتوليد سلسلة فيبوناتشي باستخدام الـ multithreaded
المستخدم سيدخل عدد المتتالية التي يريدها .. وهكذا
:
.
أحتاج بـ شدّة لمساعدتكم في برمجتها بـ الـc
حيث أنّني لم استخدمها من قبل .. فأنا أستخدم الجافا
تحيّة
