منتدى برامج نت | برامج نت | دليل المواقع | العاب فلاش | برامج | عيادة الطب | Free software
العاب افلام موقع منتديات

المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : مساعده لكتابة برنامج بلغه c++


جــــوري
12-11-2006, 05:24 PM
السلام عليكم ورحمة الله وبركاته
اخواني اعضاء المنتدى الكرام ...
انا أول مرة اشارك معاكم واتمنى تساعدووني وما تخيبون ظني .. :smailes53:
انا طالبه بأول سنه في قسم الحاسب .. يعني مبتدئه ومطلووب مني برنامج وماعرفت كيف اسويه
يمكن البرنامج بسيط بالنسبه لكم .. لكن بما اني مبتدئه اتمنى تساعدوني:smailes53:
المطلووب هو : اكتبي برامج باستخدام لغة سي بلس بلس يسمح بادخال بيانات الطالبه .. الاسم والرقم والدرجه ثم يقوم بطباعه الجدول التالي :
التقدير الدرجه الاسم الرقم
STNo Stname score Degree


ساااااعدوني بلييز
انا بانتظاركم :smailes3:
تحياتي لكم
جــــوري
ملاحظه : الجدول اللي فووق المفروض يكون فيه مسافات لكن ما ضبطت معي ..سوري :smailes75:

(li) صقر (li)
12-11-2006, 06:02 PM
أنا ممكن أعطيكي كتب في السي بلس بلس .
لكن دروس , سيفيدك الفرعون المحترف
لكن إن أردت كتباً أضيفي رد موافقة وستجديها عندك حالاً

الفرعون المحترف
12-11-2006, 06:09 PM
السلام عليكم مشكور اخي صقر على مساعده الاعضاء
بارك الله فيك
وانا جاهز في احضار الدروس والكتب
والاكواد الخ
ان شاء الله

zakimoulayabdellah
12-11-2006, 06:49 PM
good evening my friend
j have find the solution but you must tell me your appreciation on this code
if you want that I develop say the

:smailes104: :smailes104: :smailes104: :smailes104: :smailes104:
#include <stdio.h>
#include <conio.h>

void main(){
char name[20],numero[3],score[5],degree[10];
clrscr();
printf("Welcome to Programmation zaki\n") ;
printf("-----------------------------\n") ;
printf("Name : ") ;
gets(name);
printf("Numro : ") ;
gets(numero);
printf("Scroe : ") ;
gets(score);
printf("Degree : ") ;
gets(degree);
printf("------------------------------------------\n");
printf("| |\n");
printf(" Name | Numero | Score | Degree \n");
printf("| %s ",name);
printf("| %s ",numero);
printf("| %s ",score);
printf("|%s ",degree,"\n");
//puts(numero);
// puts(score);
// puts(degree);
// puts("|",name,"|",numero,"|",score,"|",degree,"|");
printf("-------------------------------------------\n");
//puts(name);
getch();
}
et si tu veux qq chose autre je suis tjrs la
:smailes13: :smailes13: :smailes13: :smailes13: :smailes13: :smailes13: :smailes13: :smailes13:

zakimoulayabdellah
12-11-2006, 06:52 PM
and for the j courses have put of the of books
test to find my involvements
j has more that 30 book in C++

fakir
12-12-2006, 05:35 AM
السلام عليكم
اظن انه من الاحسن استعمال structure
تحياتي.

zakimoulayabdellah
12-12-2006, 07:50 AM
yes fakir but tis subject for the beginners:smailes95: :smailes95: :smailes55: :smailes55: :smailes55:
i think of object more than struct
but she cant understand
:smailes2: :smailes2: :smailes2: :smailes95: :smailes95: :smailes95: :smailes95: ok thinks for your idae

fakir
12-12-2006, 09:08 AM
you're welcome friend ^_^

zakimoulayabdellah
12-12-2006, 11:54 AM
gooood friend

جــــوري
12-12-2006, 05:07 PM
مرااحب:smailes34:

اخوي صقر..انا حملت بعض الكتب عن السي بلس بلس
بس اذا عندك كتب مفيده ياريت تنزلها واكيد راح استفيد منها ..
مشكور ويعطيك العافيه :smailes34:


الفرعون المحترف
مشكور ويعطيك العافيه ماتقصرر


zakimoulayabdellah
مشكوووووووووور اخوي ويعطيك الف عافيه ماقصرت
لكن بصراحه مع انك تقول ان هذا ابسط شي بالنسبه لي كمبتدئه
البرنامج غريب شوي علي :smailes75: :smailes53:
يعني فيه اشياء أول مره تمر علي لسى ما اخذناها بدراستنا :smailes53:

مثل :
getch(); gets //puts #include <conio.h>

مااعرف وش معناها ؟؟!
على العموم مشكوور
:smailes34:
ياريت اذا احد يقدر يكتب لي البرنامج بشكل ابسط اكون شاكره له

تحياتي لكم
جـــــوري :smailes104:

(li) صقر (li)
12-12-2006, 05:13 PM
حاضر , اضغطي هنا (http://www.bramjnet.com/vb3/showthread.php?t=188324) , تدخلي على موضوع خاص بي وإن شاء الله تجدي ما يسرك , وأرجو منك الرد في موضوعي .

zakimoulayabdellah
12-12-2006, 07:46 PM
watch
include <conio.h>...
are himself of the bookcase in c++
t puts as printf
and gets as scanf...
and if you want d again doesn't help any problems

جــــوري
12-13-2006, 05:10 PM
مرحبااا
اهلين صقر
حملت بعض الكتب .. مشكوور ويعطيك العافيه:smailes44:


zakimoulayabdellah
بصراحه ماعرفت اسويه .. انا اسفه لكن تحملووني شوي :smailes7:
شكرا على تعاونكم واهتمامكم :smailes53:
جــــوري

zakimoulayabdellah
12-14-2006, 12:59 AM
hello
for the c c a language procedurable is
but c ++ language POO
therefore of the thing not of element premitive of the languages
for the bookcase are feature defined not the constructor of c
and he/it helps us to display (printf or puts) of the messages of the numbers...
or to recover the worth (scanf, gets)...
there is big number of the functions that you find
and well on you can create your own functions
then if you have other question.
I answer to you
goodbye

:smailes48: :smailes48: :smailes48: :smailes48: :smailes48: :smailes100: :smailes100: :smailes100: :smailes100: :smailes91: :smailes91: :smailes91:

جــــوري
12-14-2006, 05:15 PM
هاااي
zakimoulayabdellah
انا كان ودي اسويه بامر الادخال cin والطباعه cout
لكن مو مشكله ..:smailes14:
بصراحه مااعرف وش اقوول تعبتك معاي :smailes1:
الف الف شكرر وما قصررت
يعطيك الف عافيه .. تحياتي لك :smailes34:

جــــوري

zakimoulayabdellah
12-15-2006, 07:46 AM
hello my sister Jouzi
no problems for to help
then the answer for your question:
1 -> cout is a function that accepts a String , a chain of character that you can
to display on screen. and the syntax and cout << "...... ";
2 -> cin is a fonctionn of inverse of the first
then he/it accepts a chain of character that you can affect has a memebre of your program or you to display or....
then me ace to bring magnificent book delivers the world so that you metise very well this language
him calls Thinking in CPP and left in 2 Volume
i hopes that me helps well
and I am has your disposition has all momants
good I let you many while waiting for your answer
god protects you
:smailes48: :smailes48: :smailes48: :smailes48: :smailes48: :smailes48: :smailes48:


This Part 1

thinking_in_cpp_volume_1_2n.pdf - 2.89MB (http://www.zshare.net/download/thinking_in_cpp_volume_1_2n-pdf.html)






This Part 2


thinking_in_cpp_volume_2__2.pdf - 1.99MB (http://www.zshare.net/download/thinking_in_cpp_volume_2__2-pdf.html)

DarkCoder
12-16-2006, 06:47 PM
#include<iostream>
#include<iomanip>

using namespace std;

int main()
{
string stname;
int STNo;
char Degree;
float score;
cout<<"Enter student name :";
getline(cin,stname);
cout<<endl;
cout<<"Enter student number : ";
cin>>STNo;
cout<<endl;
cout<<"Enter student degree : ";
cin>>Degree;
cout<<endl;
cout<<"Enter student score : ";
cin>>score;
cout<<endl;
cout<<"----------------------------------------------------------------"<<endl;
cout<<"Stname"<<setw(28)<<"STNo"<<setw(14)<<"score"<<setw(12)<<"Degree"<<endl;
cout<<"----------------------------------------------------------------"<<endl;
cout<<stname<<setw(14)<<STNo<<setw(6)<<score<<setw(10)<<Degree<<endl;


return 0;
}

جــــوري
12-19-2006, 04:56 PM
zakimoulayabdellah
مشكوور اخوي لكن للاسف الكتب بالانجليزي :smailes88:

DarkCoder
مشكووور ويعطيك ألف عافيه :smailes20:
عرفت كيف اكتب البرنامج :smailes3:
ماقصرتوو اخواني .. الف شكر
تحياتي لكم

zakimoulayabdellah
12-19-2006, 08:26 PM
you welcome friend