Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 639

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1041

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1046

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1518

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1523
إستفسـآر مساعدة رجاءا :( مين بيعرف اوبجيكت ؟ - الصفحة 2 - منتديات شباب فلسطين
نحن مع غزة


الإهداءات

العودة   منتديات شباب فلسطين > محطات تقنية > مُتعلقات التقنية

إضافة رد
 
أدوات الموضوع انواع عرض الموضوع
قديم 04-29-2012, 08:36 PM   #11
Arabian girl
I ♥ PALESTINE
 
الصورة الرمزية Arabian girl
“Life is full of beauty. Notice it. Notice the bumble bee, the small child, and the smiling faces. Smell the rain, and feel the wind.
سبحان الله وبحمده.... سبحان الله العظيم ..

قوة السمعة: 103 Arabian girl will become famous soon enough

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

ههههههههه حبيبتي عاشقة d:
عم بخبص هيني بس مش عم تطلع النتيجة المطلوبة :p
يلا بانتظار محمود :) معي تقريبا ساعة وربع لحتى أسلم الاشي :p
  اقتباس المشاركة
قديم 04-29-2012, 08:38 PM   #12
Arabian girl
I ♥ PALESTINE
 
الصورة الرمزية Arabian girl
“Life is full of beauty. Notice it. Notice the bumble bee, the small child, and the smiling faces. Smell the rain, and feel the wind.
سبحان الله وبحمده.... سبحان الله العظيم ..

قوة السمعة: 103 Arabian girl will become famous soon enough

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

ياااي فجر مو مشكلة ملف الوورد هيني صورتو تصوير :pp

مو مشكلة مساعدتين بنفس الوقت مفيدين كمان هههههههه
  اقتباس المشاركة
قديم 04-29-2012, 08:39 PM   #13
Arabian girl
I ♥ PALESTINE
 
الصورة الرمزية Arabian girl
“Life is full of beauty. Notice it. Notice the bumble bee, the small child, and the smiling faces. Smell the rain, and feel the wind.
سبحان الله وبحمده.... سبحان الله العظيم ..

قوة السمعة: 103 Arabian girl will become famous soon enough

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

يللا وهي الكود معدل كمان مرة :P



#include <iostream>
using namespace std ;


class ArrayList
{
int size;
public :
int *list;

ArrayList();
ArrayList(int ) ;
void SetSize(int);
int GetSize();
void ReadArray();
void PrintArray();
int PositiveCount();
void copyPositiveValues(ArrayList obj1);
~ArrayList();
};


ArrayList::ArrayList(){size=5;};
ArrayList::ArrayList(int n){size=n;}
void ArrayList::SetSize(int S ){size=S;}

int ArrayList::GetSize(){return 6 ;}

void ArrayList::ReadArray(){
int num; for (int i=0 ; i<size ; i++)
{
cin >>num;
list[i]= num ;}
}

void ArrayList::PrintArray(){ for (int i=0 ; i < size ; i++)
cout <<list[i]<<" ";}


int ArrayList::PositiveCount(){int Pcount=0 ; for(int i =0;i<size ; i++)
{
if (list[i] >= 0)
Pcount++;

}
return Pcount;
}


void ArrayList::copyPositiveValues(Array List obj1)
{
obj1.list;
for (int i=0; i<size ; i++)
{
if (list[i]>=0)
cout <<list[i] <<" " ;
}
cout <<endl;
}

ArrayList::~ArrayList(){ }



void main ()
{
ArrayList list[6];
cout <<"please Enter 6 values to fill the List :";

list[6].list=new int [6];
list[6].ReadArray();
list[6].PrintArray();
cout <<"the number of the positive values inside the first list is "<<list[6].PositiveCount()<<endl;
int size;
size =list[6].PositiveCount();

ArrayList List(size);
List.copyPositiveValues(list[6]);
cout << size<<endl;


}
  اقتباس المشاركة
قديم 04-29-2012, 09:01 PM   #14
Arabian girl
I ♥ PALESTINE
 
الصورة الرمزية Arabian girl
“Life is full of beauty. Notice it. Notice the bumble bee, the small child, and the smiling faces. Smell the rain, and feel the wind.
سبحان الله وبحمده.... سبحان الله العظيم ..

قوة السمعة: 103 Arabian girl will become famous soon enough

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

هيك صار تقريبا شكليا كامل بس بدو تعديل عشان تطلع النتيجة صح :P



#include <iostream>
using namespace std ;


class ArrayList
{
int size;
public :
int *list;

ArrayList();
ArrayList(int ) ;
void SetSize(int);
int GetSize();
void ReadArray();
void PrintArray();
int PositiveCount();
void copyPositiveValues(ArrayList obj1);
~ArrayList();
};


ArrayList::ArrayList(){size=5;};
ArrayList::ArrayList(int n){size=n;}
void ArrayList::SetSize(int S ){size=S;}

int ArrayList::GetSize(){return 6 ;}

void ArrayList::ReadArray(){
int num; for (int i=0 ; i<size ; i++)
{
cin >>num;
list[i]= num ;}
}

void ArrayList::PrintArray(){ for (int i=0 ; i < size ; i++)
cout <<list[i]<<" ";}


int ArrayList::PositiveCount(){int Pcount=0 ; for(int i =0;i<size ; i++)
{
if (list[i] >= 0)
Pcount++;

}
return Pcount;
}


void ArrayList::copyPositiveValues(Array List obj1)
{
obj1.list;
for (int i=0; i<size ; i++)
{
if (list[i]>=0)
cout <<list[i] <<" " ;
}
cout <<endl;
}

ArrayList::~ArrayList(){ }



void main ()
{
ArrayList list[6];
cout <<"please Enter 6 values to fill the List :";

list[6].list=new int [6];
list[6].ReadArray();
cout<<"the content of the first array are : ";
list[6].PrintArray();
cout<<endl;
cout <<"the number of the positive values inside the first list is "<<list[6].PositiveCount()<<endl;
int size;
size =list[6].PositiveCount();

ArrayList List(size);
List.copyPositiveValues(list[6]);
cout <<"The size of the second list is :" << size<<endl;


}
  اقتباس المشاركة
قديم 04-29-2012, 09:20 PM   #15
Arabian girl
I ♥ PALESTINE
 
الصورة الرمزية Arabian girl
“Life is full of beauty. Notice it. Notice the bumble bee, the small child, and the smiling faces. Smell the rain, and feel the wind.
سبحان الله وبحمده.... سبحان الله العظيم ..

قوة السمعة: 103 Arabian girl will become famous soon enough

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

لأ هيك :P



#include <iostream>
using namespace std ;


class ArrayList
{
int size;
public :
int *list;

ArrayList();
ArrayList(int ) ;
void SetSize(int);
int GetSize();
void ReadArray();
void PrintArray();
int PositiveCount();
void copyPositiveValues(ArrayList obj1);
~ArrayList();
};


ArrayList::ArrayList(){size=5;};
ArrayList::ArrayList(int n){size=n;}
void ArrayList::SetSize(int S ){size=S;}

int ArrayList::GetSize(){return 6 ;}

void ArrayList::ReadArray(){
int num; for (int i=0 ; i<size ; i++)
{
cin >>num;
list[i]= num ;}
}

void ArrayList::PrintArray(){ for (int i=0 ; i < size ; i++)
cout <<list[i]<<" ";}


int ArrayList::PositiveCount(){int Pcount=0 ; for(int i =0;i<size ; i++)
{
if (list[i] >= 0)
Pcount++;

}
return Pcount;
}


void ArrayList::copyPositiveValues(Array List obj1)
{
obj1.list;
for (int i=0; i<size ; i++)
{
if (list[i]>=0)
cout <<list[i] <<" " ;
}
cout <<endl;
}

ArrayList::~ArrayList(){ }



void main ()
{
ArrayList list[6];
cout <<"please Enter 6 values to fill the List :";

list[6].list=new int [6];
list[6].ReadArray();
cout<<endl;
cout<<"the content of the first array are : ";
list[6].PrintArray();
cout<<endl;
cout <<"the number of the positive values inside the first list is "<<list[6].PositiveCount()<<endl;
int size;
size =list[6].PositiveCount();

ArrayList List(size);
List.copyPositiveValues(list[6]);
cout <<"The size of the second list is :" << size<<"and the content of the second list is " ;
List.PrintArray() ;


}
  اقتباس المشاركة
قديم 04-29-2012, 09:23 PM   #16
Arabian girl
I ♥ PALESTINE
 
الصورة الرمزية Arabian girl
“Life is full of beauty. Notice it. Notice the bumble bee, the small child, and the smiling faces. Smell the rain, and feel the wind.
سبحان الله وبحمده.... سبحان الله العظيم ..

قوة السمعة: 103 Arabian girl will become famous soon enough

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

السؤال تقلص لشو سبب الرن تايم ايرور بهاد الكود




#include <iostream>
using namespace std ;


class ArrayList
{
int size;
public :
int *list;

ArrayList();
ArrayList(int ) ;
void SetSize(int);
int GetSize();
void ReadArray();
void PrintArray();
int PositiveCount();
void copyPositiveValues(ArrayList obj1);
~ArrayList();
};


ArrayList::ArrayList(){size=5;};
ArrayList::ArrayList(int n){size=n;}
void ArrayList::SetSize(int S ){size=S;}

int ArrayList::GetSize(){return 6 ;}

void ArrayList::ReadArray(){
int num; for (int i=0 ; i<size ; i++)
{
cin >>num;
list[i]= num ;}
}

void ArrayList::PrintArray(){ for (int i=0 ; i < size ; i++)
cout <<list[i]<<" ";}


int ArrayList::PositiveCount(){int Pcount=0 ; for(int i =0;i<size ; i++)
{
if (list[i] >= 0)
Pcount++;

}
return Pcount;
}


void ArrayList::copyPositiveValues(Array List obj1)
{
obj1.list;
for (int i=0; i<size ; i++)
{
if (list[i]>=0)
cout <<list[i] <<" " ;
}
cout <<endl;
}

ArrayList::~ArrayList(){ }



void main ()
{
ArrayList list;
cout <<"please Enter 6 values to fill the List :";

list.list=new int [6];
list.ReadArray();
cout<<endl;
cout<<"the content of the first array are : ";
list.PrintArray();
cout<<endl;
cout <<"the number of the positive values inside the first list is "<<list.PositiveCount()<<endl;
int size;
size =list.PositiveCount();

ArrayList List(size);
List.copyPositiveValues(list);
cout <<"The size of the second list is :" << size<<"and the content of the second list is " ;
List.PrintArray() ;


}
  اقتباس المشاركة
قديم 04-30-2012, 12:11 AM   #17
شهيد
 
الصورة الرمزية شهيد

قوة السمعة: 50 شهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond reputeشهيد has a reputation beyond repute

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

هاااا


  اقتباس المشاركة
قديم 04-30-2012, 12:35 AM   #18
Arabian girl
I ♥ PALESTINE
 
الصورة الرمزية Arabian girl
“Life is full of beauty. Notice it. Notice the bumble bee, the small child, and the smiling faces. Smell the rain, and feel the wind.
سبحان الله وبحمده.... سبحان الله العظيم ..

قوة السمعة: 103 Arabian girl will become famous soon enough

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

هادا برنامج برمجة بيعطوه للتخصصات الحوسبية على نمط لغات برمجة تانية متل الجافا
وعلي واجب فيه وبرضو حالتي تقول : "هاااا"
  اقتباس المشاركة
قديم 04-30-2012, 10:44 AM   #19
Maram .. ~
..{ مشـــــــــرفة عامة }..
 
الصورة الرمزية Maram .. ~
بيئولو إنّي توجيهي !

دعوآآآتكم

8/5/2012 --> 1/6/2012
LIVING WITHOUT SOUL

قوة السمعة: 509 Maram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond reputeMaram .. ~ has a reputation beyond repute

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

o.O

و كنت ناوية ادرس هندسة كومبيوتر ال هههههههههههههه

موفئة موفئة :S


قرّبـت ..
2012-2013


  اقتباس المشاركة
قديم 04-30-2012, 11:58 AM   #20
رجل المطر
I ♥ SHABAB

قوة السمعة: 0 رجل المطر is an unknown quantity at this point

افتراضي رد: مساعدة رجاءا :( مين بيعرف اوبجيكت ؟

في السطر 23

اعملي فراغ بين الفاصلة المنقوطة والرقم 5

ونفس الشي بالسطر 24 و السطر 25

وفي كمان مشكلة بالسطر 50

  اقتباس المشاركة
إضافة رد


الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

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

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة

الانتقال السريع


الساعة الآن 11:20 PM.