ahmedfci
Active Member
- تاريخ التسجيل
- 8 مارس 2012
- المشاركات
- 32
- المجموعة
- ذكر
- الدفعة الدراسية
- معلومة خاصة
- الكلية
- كلية تقنية المعلومات
كود:
pos=removeall( list,leanght, item)
loc=removeat( list,leanght, i);
pos and loc are from type int..and the functions remove at and remove all are from type void
void does not return a value and when you say int pos=removeat() you say pos = nothing because void does not return any thing as i mentioned
you have to give the int variables a value
the second point
the semicolons (
need to be checked
third
include <iostream> must be in 1 line not in 2 lines
these are the major errors try to fix it
if you didn't understand you can ask me for more details..hope that you understand it
void does not return a value and when you say int pos=removeat() you say pos = nothing because void does not return any thing as i mentioned
you have to give the int variables a value
the second point
the semicolons (
third
include <iostream> must be in 1 line not in 2 lines
these are the major errors try to fix it
if you didn't understand you can ask me for more details..hope that you understand it
التعديل الأخير:


