صفحة 7 من 14 الأولىالأولى ... 23456789101112 ... الأخيرةالأخيرة
النتائج 91 إلى 105 من 198

الموضوع: هل لديك برامج تريدنا ان نساعدك فيها ؟ هل تريد حل لبرنامج تعسر عليك فهمه ؟؟ ادخل اذن

  1. #91
    التسجيل
    11-06-2005
    الدولة
    سعودي والسعودي بكيفة ^^
    المشاركات
    291

    مشاركة: أريد المساعدة يا جافا

    المشاركة الأصلية بواسطة for yemen and
    السلام عليكم

    الرجاء المساعدة ياخبراء

    عملت form في visual basic 6
    وعملت فيها adodc
    كيف أبرمج زر إضافة بالفيجوا بيسك 6
    و texts
    وربطتهم بالقاعدة
    وأريد أن أبرمج زر إضافة الذي عن طريقه يضيف لي بيانات جديدة إلى سجلات قاعدة البيانات

    ما العمل؟
    شوف اخوي اولا اذا تقصد ربط القاعده بواسطة اداة data control
    هنا الطريقة ,,,
    كود زر الاضافة
    Data1.Recordset.AddNew
    تربط التكست من الخاصية
    data source
    واختار منها اسم الداتا
    data feild
    واختار اسم الحقل اللي راح تضيف عليه البيانات اللي تدخلها في التكست بوكس
    خلاص
    بس ممكن تربط الشبكة بالقاعدة عشان تشوف تغيرات الاظافة
    (حبيت اكون ذكرى طيبه )
    بين السطور
    سواءا تذكرونى
    والا تنسونى 000 مناى
    انكم تسامحونى على
    كل شئ.

  2. #92
    التسجيل
    11-06-2005
    الدولة
    سعودي والسعودي بكيفة ^^
    المشاركات
    291

    مشاركة: أريد المساعدة يا جافا

    اقتباس المشاركة الأصلية كتبت بواسطة جــافــا
    طيب خليك عبقري ^^ .... وتشطر وابحث عنه بالقوقل ..
    والله تلاقيه جاااااااااااااهز ..
    انا كان عندي زمان مشروع بالاسمبيلي ... وراح الوقت .. وانا ما سويت شي ....
    بحثت في النت لمدة 5 ساعات تقريبا .. في النهاية .. لقيت نفس الواجب الي ابيه بالاسمبيلي ... تخيل !!
    نفس الي طلبه الدكتور ... لقيته ^^ ...
    جرب واكتب في القوقل ... ftp c++ source coder free
    ^^ ..... تعلمو يا شباب البحث المحترف ^^

    واذا مالقيته .. انا اساعدك فيه اوكيه ^^ << ما بيعرف الاف تي بي ... اصلا ,,,
    ااااخخخخخخخ وانا اخوك نفس الموقف انا طحت فيه اصلا القوقل مل من وجهي من كثر ما ادور فيه
    الله يعيني على ها البرنامج الاقشر ^^

    على العموم بجرب اللي قلت وسوف اعود قريبا ً ,,
    (حبيت اكون ذكرى طيبه )
    بين السطور
    سواءا تذكرونى
    والا تنسونى 000 مناى
    انكم تسامحونى على
    كل شئ.

  3. #93
    التسجيل
    25-07-2003
    الدولة
    عـــمـــان
    المشاركات
    846

    مشاركة: أريد المساعدة يا جافا

    طيب كيف أعمل مصفوفة من النوع String لأخزن بها البيانات المطلوبه؟

  4. #94
    التسجيل
    26-07-2005
    الدولة
    Australia
    المشاركات
    3,368

    مشاركة: أريد المساعدة يا جافا

    اقتباس المشاركة الأصلية كتبت بواسطة سيفيروث
    طيب كيف أعمل مصفوفة من النوع String لأخزن بها البيانات المطلوبه؟
    سوري جدا على التأخير ...
    والله ماني فاضي ...
    بس .. استرينق ؟
    همممم ؟؟
    عادي جدا ...
    كود:
    String [] any_thing = new String [10] ;
    for(int i=0; i<any_thing.Length ; i++ )
    any_thing[i]="ABC";

    ... صعبة ؟؟
    التعديل الأخير تم بواسطة The Coder ; 08-12-2005 الساعة 09:19 AM

  5. #95
    التسجيل
    25-07-2003
    الدولة
    عـــمـــان
    المشاركات
    846

    مشاركة: أريد المساعدة يا جافا

    المشكله هنا انك تكتب اللي تريده داخل السترينج في كود البرنامج نفسه وليس في الدوس وأنا أريد أكتب البيانات من الدوس؟

  6. #96
    التسجيل
    11-06-2005
    الدولة
    سعودي والسعودي بكيفة ^^
    المشاركات
    291

    مشاركة: أريد المساعدة يا جافا

    سيفيروث ,, ماهي مشكلة يا خوي
    اذا كان البرنامج على السي :
    اكتب جملة فور ثانية بنفس حجم المصفوفة ثم اكتب
    cin>>array[number][number]l
    بعدين دخل البيانات وبن كل واحد فراغ
    واذا تبي تتأكد سو جملة ثانية لفور واكتب بدل cin ,, اكتب cout
    وانتبه لحجم المصفوفة عند التعريف
    ارجو ان يكون هذا المطلوب
    (حبيت اكون ذكرى طيبه )
    بين السطور
    سواءا تذكرونى
    والا تنسونى 000 مناى
    انكم تسامحونى على
    كل شئ.

  7. #97
    التسجيل
    26-07-2005
    الدولة
    Australia
    المشاركات
    3,368

    مشاركة: أريد المساعدة يا جافا

    اقتباس المشاركة الأصلية كتبت بواسطة سيفيروث
    المشكله هنا انك تكتب اللي تريده داخل السترينج في كود البرنامج نفسه وليس في الدوس وأنا أريد أكتب البيانات من الدوس؟
    بدأت .. اضيع ..
    لم افهم وش دخل الدوس .. في برنامجك ؟؟
    مممممم ... الدوس ... برنامج خاص ... لا تستطيع التحكم فيه .... هل هذا قصدك ؟

  8. #98
    التسجيل
    25-07-2003
    الدولة
    عـــمـــان
    المشاركات
    846

    مشاركة: أريد المساعدة يا جافا

    أنا أشغل البرامج المكتوبه بلغة الجافا من الدوس أو CommandPrompt

    ومن هناك أدخل البيانات المراد حفظها...

  9. #99
    التسجيل
    09-02-2004
    المشاركات
    4

    مشاركة: أريد المساعدة يا جافا

    السلام عليكم ورحمة الله وبركاته

    انا اخوكم mohd9260 عندي برنامج اود ان تساعدوني في برمجته
    بصراحة انا ما ما فاهم واجد في السي بلس بلس وخاصة في قسم الدوال والمصفوفات
    حاولت احله لكن ما طلع عندي شي صح
    التسليم غدا وارجوا منكم المساعدة واكون شاكرا لكم ولمنتداكم الغاوي^_^
    ___________________________________________________
    Due Date: Tuesday 10th December 2004 at 11:55 pm

    Write a complete C++ program that simulates temperature predication for different cities in a given day using the temperatures of the previous 6 days. The program reads city names and the temperature information from an input file named "temps.dat". It reads city names into 1D array of strings and the temperatures for the previous 6 days into 2D array of integers. Your program should be able to read temperature information for at most 100 cities.

    Your program should use random number generator to predict the temperature for the 7th day for each city. The predicted temperature is computed as the average of the temperatures for the previous 6 days plus a random integer number between (-range/2) and (+range/2), where range is the difference between the highest and lowest temperatures in the previous 6 days for the given city. As an example, assume that the temperatures of the previous 6 days for a given city are 29, 28, 32, 35, 32 and 30, respectively. The average temperature is 31 and the range is 35 – 28 = 7. Therefore, the predicted temperature for the 7th day is 31 + a random number between -3 and +3. In multiple runs of the program, it should generate different values for the
    predicted temperatures (for the 7th day).

    The program should display the seven day temperatures for all cities in the screen using a tabular format as shown in figure 2. Also, it should print the city name and its expected temperature (for the 7th day) in an Excel document named "predTemp.xls" as shown in figure 3. After running your program, you can use the generated Excel document to create an Excel graph for the expected temperatures for all cities as shown in figure 4.
    Figure 1: Sample input file
    Figure 2: Screen output for the sample input
    Figure 3: Excel document for the predicted temperatures
    Figure 4: Predicated temperatures graph usingthe table in figure 3




    Your program should contain at least the following functions with suitable
    parameters:

    § LoadInfo(string city[],int temp[][7], …..) : reads the city name and the temperatures for the previous 6 days for each city from an input file named "temps.dat", and stores city names in 1D array of strings and temperatures in 2D arrays. The function should count and return the number of cities in the input file.

    § PredictNextDayTemps(int temp[][7], …..) : receives the temperatures for the previous 6 days for all cities in a 2D array and uses the random number generator to predict the temperatures for the 7th day for all cities. For each city, the function uses CityAvgTemp and CityTempRange functions below to compute the average temperature and the range for temperatures of the previous 6 days. It computes the predicted temperature (7th day temperature) for a given city as the average temperature plus a random number between –range/2 and +range/2.

    § CityAvgTemp(int temp[], ….) : receives the temperatures for the previous 6 days for a given city as 1D array and returns their average an integer number.

    § CityTempRange(int temp[], …..) : receives the temperatures for the previous 6 days for a given city as 1D array and returns the range of the given temperatures as the difference between the maximum and the minimum temperatures.

    § Display(string city[],int temp[][7], …..) : displays the city name and the temperatures for the 7 days for each city in the screen using a tabular format as shown in figure 2.

    § PrintToExcelFile(string city[],int temp[][7], ….) : writes the city name and the predicated temperature (7th day temperature) for each city into an Excel file named "predTemp.xls " as shown in figure 3. To create an Excel document, you need to name your document with ".xls" extension and separate columns using the Tab key ("\t" in C++).



    Remarks:

    &yacute; You need to use function parameters to pass all the required variables for a given function.

    &yacute; Name your program as HW4-IDno.cpp, where IDno is your student ID number

    &yacute; Upload your source program and the executable file results to WebCT.

    &yacute; Submit a hard copy of the source, including this sheet as the first page.



    ______________________________________________________________________
    التعديل الأخير تم بواسطة mohd9260 ; 09-12-2005 الساعة 03:06 PM

  10. #100
    التسجيل
    26-07-2005
    الدولة
    Australia
    المشاركات
    3,368

    مشاركة: أريد المساعدة يا جافا

    اقتباس المشاركة الأصلية كتبت بواسطة سيفيروث
    أنا أشغل البرامج المكتوبه بلغة الجافا من الدوس أو CommandPrompt

    ومن هناك أدخل البيانات المراد حفظها...
    طيب طيب ...
    جرب ذي

    char [][] S = {"abc","efg","utid"}; // this is .. an array of strings

    وش رايك ؟
    تصلح او لا جربتهم ؟
    ؟؟؟؟؟؟؟؟؟؟؟؟

  11. #101
    التسجيل
    26-07-2005
    الدولة
    Australia
    المشاركات
    3,368

    مشاركة: أريد المساعدة يا جافا

    اقتباس المشاركة الأصلية كتبت بواسطة mohd9260
    السلام عليكم ورحمة الله وبركاته



    انا اخوكم mohd9260 عندي برنامج اود ان تساعدوني في برمجته
    بصراحة انا ما ما فاهم واجد في السي بلس بلس وخاصة في قسم الدوال والمصفوفات
    حاولت احله لكن ما طلع عندي شي صح
    التسليم غدا وارجوا منكم المساعدة واكون شاكرا لكم ولمنتداكم الغاوي^_^
    ___________________________________________________
    Due Date: Tuesday 10th December 2004 at 11:55 pm

    Write a complete C++ program that simulates temperature predication for different cities in a given day using the temperatures of the previous 6 days. The program reads city names and the temperature information from an input file named "temps.dat". It reads city names into 1D array of strings and the temperatures for the previous 6 days into 2D array of integers. Your program should be able to read temperature information for at most 100 cities.

    Your program should use random number generator to predict the temperature for the 7th day for each city. The predicted temperature is computed as the average of the temperatures for the previous 6 days plus a random integer number between (-range/2) and (+range/2), where range is the difference between the highest and lowest temperatures in the previous 6 days for the given city. As an example, assume that the temperatures of the previous 6 days for a given city are 29, 28, 32, 35, 32 and 30, respectively. The average temperature is 31 and the range is 35 – 28 = 7. Therefore, the predicted temperature for the 7th day is 31 + a random number between -3 and +3. In multiple runs of the program, it should generate different values for the predicted temperatures (for the 7th day).

    The program should display the seven day temperatures for all cities in the screen using a tabular format as shown in figure 2. Also, it should print the city name and its expected temperature (for the 7th day) in an Excel document named "predTemp.xls" as shown in figure 3. After running your program, you can use the generated Excel document to create an Excel graph for the expected temperatures for all cities as shown in figure 4.

    Figure 1: Sample input file

    Figure 2: Screen output for the sample input


    Figure 3: Excel document for the predicted temperatures

    Figure 4: Predicated temperatures graph usingthe table in figure 3



    Your program should contain at least the following functions with suitable parameters:

    § LoadInfo(string city[],int temp[][7], …..): reads the city name and the temperatures for the previous 6 days for each city from an input file named "temps.dat", and stores city names in 1D array of strings and temperatures in 2D arrays. The function should count and return the number of cities in the input file.

    § PredictNextDayTemps(int temp[][7], …..): receives the temperatures for the previous 6 days for all cities in a 2D array and uses the random number generator to predict the temperatures for the 7th day for all cities. For each city, the function uses CityAvgTemp and CityTempRange functions below to compute the average temperature and the range for temperatures of the previous 6 days. It computes the predicted temperature (7th day temperature) for a given city as the average temperature plus a random number between –range/2 and +range/2.

    § CityAvgTemp(int temp[], ….): receives the temperatures for the previous 6 days for a given city as 1D array and returns their average an integer number.

    § CityTempRange(int temp[], …..) : receives the temperatures for the previous 6 days for a given city as 1D array and returns the range of the given temperatures as the difference between the maximum and the minimum temperatures.

    § Display(string city[],int temp[][7], …..): displays the city name and the temperatures for the 7 days for each city in the screen using a tabular format as shown in figure 2.

    § PrintToExcelFile(string city[],int temp[][7], ….): writes the city name and the predicated temperature (7th day temperature) for each city into an Excel file named "predTemp.xls " as shown in figure 3. To create an Excel document, you need to name your document with ".xls" extension and separate columns using the Tab key ("\t" in C++).



    Remarks:

    &yacute; You need to use function parameters to pass all the required variables for a given function.

    &yacute; Name your program as HW4-IDno.cpp, where IDno is your student ID number

    &yacute; Upload your source program and the executable file results to WebCT.

    &yacute; Submit a hard copy of the source, including this sheet as the first page.






    ______________________________________________________________________
    افففففففففففففف... مشروع تخرج ذا ^^
    والله متأخرة جات بكثيرررررررر ...
    صراحة انا مشغوووووول هالاسبوعين ...
    نفسي اساعدكم يا بشر .. بس مشغوووووول

  12. #102
    التسجيل
    09-02-2004
    المشاركات
    4

    مشاركة: أريد المساعدة يا جافا

    ياليت احد الاخوان يقدر يساعدنا ) ":

    مشكور جافا

  13. #103
    التسجيل
    25-07-2003
    الدولة
    عـــمـــان
    المشاركات
    846

    مشاركة: هل لديك برامج تريدنا ان نساعدك فيها ؟ هل تريد حل لبرنامج تعسر عليك فهمه ؟؟ ادخل اذن

    للأسف ما تنفع...


    ما مشكله ايش رايك في هذا الكود:

    كود:
     
    import java.io.*;
    class ReadTextFile
    {
     public static void main ( String[] args )
     {
       String fileName = "reaper.txt" ;
       String line;
       try
       {
         BufferedReader in = new BufferedReader(
             new FileReader( fileName  ) );
         line = in.readLine();
         while ( line != null )  // continue until end of file
         {
           System.out.println( line );
           line = in.readLine();
         }
         in.close();
       }
       catch ( IOException iox )
       {
         System.out.println("Problem reading " + fileName );
       }
     }
    }

    مشكلة هذا الكود انه البيانات لازم تكتبها في المفكره(note pad) وليس عند تشغيل البرنامج (البرنامج هنا يعرضها فقط)

    فكيف أستطيع أن أدخل البيانات للمفكره من البرنامج؟

  14. #104
    التسجيل
    01-07-2005
    المشاركات
    134

    مشاركة: هل لديك برامج تريدنا ان نساعدك فيها ؟ هل تريد حل لبرنامج تعسر عليك فهمه ؟؟ ادخل اذن

    السلام عليكم

    اذا ابي انزل الجافا من النت عشان اطبق عليه ؟؟ انا جربت جافا صن بس كان فيها وايد تطبيقات ما عرفت اي واحد
    اذا فيه مجال تساعدوني بسرعة.... يعطيكم العافية

  15. #105
    التسجيل
    18-02-2003
    الدولة
    DXB NIHON
    المشاركات
    430

    مشاركة: هل لديك برامج تريدنا ان نساعدك فيها ؟ هل تريد حل لبرنامج تعسر عليك فهمه ؟؟ ادخل اذن

    السلام عليكم ورحمة الله

    عندي مسألة في C ما عرفت كيف اكتبها وهي :

    Write C program that asks the user to input two integers then displays the followin
    1-Addition
    2-Subtraction
    3-Multiplication
    4-Division
    then print the result after choosing one option ,Reply this operation for anther two numbers
    until you input two zeros??

    هل استخدم (switch)??

    وشكرا

صفحة 7 من 14 الأولىالأولى ... 23456789101112 ... الأخيرةالأخيرة

ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •