ashamry
- list directory with out ls command?
هذا ابسط كود تقريبا لعمل لست لأي دايركتوري. *the path of directory taken as argument* *مجرب على نظام صن سولارس* #include <sys/dirent.h> #include <sys/strredir.h> #include <stdio.h> #include <sys/types.h> #include <string.h> //#include <sys/dir.h> struct dirent…
- كيف احفظ معلومات في ملف ؟؟؟؟
-غير البراميتر "w" الى "a+" ان لم اكن ناسيا.
- list directory with out ls command?
-مشكور يا اخ بشير على الرد, لكن امر DIR نفس عمل امر ls, فالمطلوب هو كتابة برنامج shell يستعرض محتويات دليل معطى من قبل اليوزر بدون استخدام امر ls or DIR.
- سؤال لخبراء البرمجه في اللينكس
-يبدو انك نسيت ان تضع جملة الخروج exit(); او break;من البرنامج في النقطة السادسة بعد جملة الطباعة
- محتاجة مساعدة بالبرمجة
-ارجو توضيح المطلوب من البرنامج و المشكلة فيه اكثر, لأني بصراحة ما فهمت وش المشكلة في برنامجك!
- list directory with out ls command?
السلام عليكم.... كيف بالامكان استعراض (list) دليل بدون استخدام امر "ls"? *المطلوب هو كتابة shell script لاستعراض دليل باستخدام kernl functions -> read() & write()?
- المساعدة في فابوناشي
#include long fibbonocci(long n) { if(n<=1) return n; else { printf("n%d",fibbonocci(n-1)); return(fibbonocci(n-1)+fibbonocci(n-2)); } } int main (void) { long number,n; printf("ninput a numbern"); scanf("%d",&n); number=fibbonocci(n); printf("n%ld",number); r…
- اريد الخطا فى هذا الكود لو سمحتوم
@اذا كان المقصود من char input[/color:] تعريف function فيبدو انك نسيت كتابة the body مع ملاحظة انه يجب ان ترجع قيمة في هذه الدالة must return value
- اين الخطأ في هذا الكود(c++)?
بسم الله الرحمن الرحيم السؤال: Write a program that reads in all of the employees in the data file, using the classes above to represent the data. As you read in the data, make your program compute the average years of experience of the PROFESSORS (not the Adm…
- كيف احسب الوقت في برامج السي؟
المطلوب:حساب الوقت الذي اخذه الجهاز في حساب هذه المعادلات: البرنامج: #include #include int main(void) { int i; float h; double x[12],y[12],ye[12]={0.0},A[12]={0.0},r[12]={0.0}; printf("nEnter the value of h="); scanf("%f",&h); x[0]=0.0;y[0]=1.0; for(i=0;i<11;i…
- تعريف مصفوفة عدد عناصرها n?
صحيح يا اخ اتاسي باستخدام callo & malloc وانا اتكلم عن "السي " تعريف الcalloc & malloc calloc: contigures Memory Allocation. malloc: Memory Allocaton malloc() is mor efficient than callo() in execution a programmer may use every of them if no initialization is…
- تعريف مصفوفة عدد عناصرها n?
س/ هل بالإمكان تعريف مصفوفة عدد عناصرها غير محدد اي ان المستخدم هو الذي يحدد عدد العناصر؟كيف؟;) ......سلام......
- sort array in ascending &descending
declare 2 arrays integers.1 2- write afunction to sort arraus in ascending order . 3-write afunction to sort arraus in descending order . 4-the above functions will take two arrays and the under of element as parameters. 5-in mian function (a) give the element…
- sort array in ascending &descending
مشكوووووووووووورة اخت ورود.
- sort array in ascending &descending
على فكره تراني نسيت اقول لكم ان البرنامج بلغة السي "c".
- sort array in ascending &descending
طيب يا اخ هاني كيف ابدل ؟
- sort array in ascending &descending
.....سلام..... ارجو المساعدة في كتابة برنامج يقوم بقراء مصفوفة تتكون من n عناصر(integer number) ثم سؤال المستخدم هل يريد طباعتها بترتيب تصاعدي او تنازلي او طباعتهما معاً طباعتها (المصفوفة ) بترتيب تصاعدي و تنازلي . باستخدام الtwo functions وحدة لascending و وح…
- وضع باسوورد للجهاز؟
مشكور يا اخ منذر والله يعطيك العافية.
- وضع باسوورد للجهاز؟
سلااام... س/كيف اضع باسوورد للجهاز (ما يشتغل الا بها الباسوورد)؟;)
- سؤال حول الكوكيز؟!!!
اخوي منذر هذي الصورة :) واذا ما طلعت :( واذا ما طلعت عاد http://briefcase.yahoo.com/bc/midnight2011...rc=bc%26.view=l