نصائح و استشارات برمجية
1.45K subscribers
546 photos
10 videos
83 files
398 links
• نصائح واستشارات برمجية متعلقة باسئلة تم طرحها

• لطرح استفسار او سؤال: @m4md24
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
ممكن موقع او قناه ادرس عليها اساسيات لغه c++ وخاصه الclass
نصائح و استشارات برمجية
ممكن موقع او قناه ادرس عليها اساسيات لغه c++ وخاصه الclass
شوف الموقع دا ⬇️:
m3md69.github.io/NULLEXIA

فيه دورات تعليمية لناس بتعرف تشرح .. كل اللي عليك انك تروح لقسم التعلم و تختار اللي عايزه .. الناس اللي بتشرح مختارهم بنفسي
This media is not supported in your browser
VIEW IN TELEGRAM
طب اي الفرق بين ++c و c++
نصائح و استشارات برمجية
طب اي الفرق بين ++c و c++
• علامتين ++ بعد المتغير كدا ⬇️
a++
• معناها انه هيزود واحد بس لما يتم استدعاء المتغير بعد المرة اللي جايه، يعني من تاني مرة هنستدعي فيها المتغير هيقون مزود الواحد اللي خزنهوله، زي كدا ⬇️
int a = 1;
cout << a++ <<endl;
cout << a++;
-----
1
2
■■■■■■■■

• علامتين ++ قبل المتغير كدا ⬇️
++a
• معناها انه هيزود واحد على طول، اول ما يتم استدعائه من اول مرة، زي كدا ⬇️
int a = 1;
cout << ++a <<endl;
cout << ++a;
-----
2
3
This media is not supported in your browser
VIEW IN TELEGRAM
عندي واجب اني اكتب كود بلغه جافا
وانا تحضيري حرفيا صفر ولا شيء فاهمته كيف اقدر اكتبه بنفسي؟ من وين اقدر اتعلم لغة جافا عشان بحل الواجب
نصائح و استشارات برمجية
عندي واجب اني اكتب كود بلغه جافا وانا تحضيري حرفيا صفر ولا شيء فاهمته كيف اقدر اكتبه بنفسي؟ من وين اقدر اتعلم لغة جافا عشان بحل الواجب
• من اليوتيوب، و من اي منصة دورات تعليمية زي Udemy و Udacity

• و تقدر تشوف الموقع دا ⬇️:
m3md69.github.io/NULLEXIA

فيه دورات تعليمية لناس بتعرف تشرح .. كل اللي عليك انك تروح لقسم التعلم و تختار اللي عايزه .. الناس اللي بتشرح مختارهم بنفسي
This media is not supported in your browser
VIEW IN TELEGRAM
بعد ازنك مفيش فيديوهات تفهمني المجالات بتاعت البرمجة اكتر
This media is not supported in your browser
VIEW IN TELEGRAM
حد يعرف الموقع ده بتاع اى؟؟
This media is not supported in your browser
VIEW IN TELEGRAM
عندي هذا الكود يعمل لكن اوامر الاظهار لا تطبع في الاخير ما هو السبب
#include <iostream>
using namespace std;
class publiction{
protected:
string title;
float price;
public:
publiction(string n,float p){
title=n;
price=p;
}

};
class Book:public publiction{
protected:
int pagecount;
public:
Book(string n,float pri,int page):publiction(n,pri){
pagecount=page;
}
void display(){
cout<<"The Title Of Book Is "<<title<<endl;
cout<<"The Price Of Book = "<<price<<"$"<<endl;
cout<<"The Number Of Page = "<<pagecount<<endl;

}
};
class Tape:public publiction{
protected:
float time;
public:
Tape(float m):publiction(){
time=m;
}
void displaytime(){
cout<<"The Time You Need = "<<time<<" Minutes"<<endl;
}
};
int main(){
int x;
string n;
float a,b;
cout<<"Enter The Title"<<endl;
cin>>n;
cout<<"Enter The Price"<<endl;
cin>>a;
cout<<"Enter The Time"<<endl;
cin>>b;
cout<<"Enter The Number Of Page "<<endl;
cin>>x;

Book obj(n,a,x);
Tape g(b);
obj.display();
g.displaytime();
return 0;
}
ملاحظة اللغة c++
#include <iostream>

using namespace std;

class publiction {
protected:
string title;
float price;
public:
publiction(string n, float p) {
title = n;
price = p;
}
};

class Book : public publiction {
protected:
int pageCount;
public:
Book(string n, float pri, int page) : publiction(n, pri) {
pageCount = page;
}

void display() {
cout << "The Title Of Book Is " << title << endl;
cout << "The Price Of Book = " << price << "$" << endl;
cout << "The Number Of Page = " << pageCount << endl;
}
};

class Tape : public publiction {
protected:
float time;
public:
Tape(string n, float p, float m) : publiction(n, p) {
time = m;
}

void displaytime() {
cout << "The Time You Need = " << time << " Minutes" << endl;
}
};

int main() {
string n;
float a, b;
int x;

cout << "Enter The Title" << endl;
cin >> n;
cout << "Enter The Price" << endl;
cin >> a;
cout << "Enter The Time" << endl;
cin >> b;
cout << "Enter The Number Of Page " << endl;
cin >> x;

Book obj(n, a, x);
Tape g(n, a, b);
obj.display();
g.displaytime();

return 0;
}