الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

أرجو المساعده

مغلق
بدأه reem-12 في 24 أكتوبر 2004 · 1 رد · 1,012 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

I want to write a program usint the pointer operations and recursion

plz help me because i try to solve it but i faild to have the corect answer

this is my question and i hope that u can help me before monday

----------------------------------------------------------------------------------

Write a recursive function named Comma_Separated that takes as parameters a pointer to char listptr which represents string1 and a pointer to char textptr which represents string2.The function should copy string1 into string2 but all the characters in string 2 should be separated by comma. The prototype of the function is:

void Comma_Separated (char *listptr, char *textptr);

NOTE: Use pointer operations and recursion only

for example :

The value before calling the function are:

String1="ITCS102", String2=" "

The value after calling the function will be:

String1="ITCS102", String2="I,T,C,S,1,0,2,"

i need ur help plz

#2

تم نقل الموضوع من قسم ال C++/CLI ,, ورجاء لانريد أسئلة سي++ عادية في قسم ال C++/CLI ,, فالقسم له لغته المنفصلة .

وتم التنبيه على ذلك بخط عريض في الصفحة الرئيسية .

banner_60_468.gif

NOTHING IS IMPOSSIBLE

هذا الموضوع مغلق.

مواضيع مشابهة