✳️ ایجاد رفرنس در cpp
—-------------------
#include <iostream>
using namespace std;
int main ()
{
// declare simple variables
int i;
double d;
// declare reference variables
int& r = i;
double& s = d;
i = 5;
cout « "Value of i : " « i « endl;
cout « "Value of i reference : " « r « endl;
d = 11.7;
cout « "Value of d : " « d « endl;
cout « "Value of d reference : " « s « endl;
return 0;
}
—----------------------------
🆔 @computeriha
—-------------------
#include <iostream>
using namespace std;
int main ()
{
// declare simple variables
int i;
double d;
// declare reference variables
int& r = i;
double& s = d;
i = 5;
cout « "Value of i : " « i « endl;
cout « "Value of i reference : " « r « endl;
d = 11.7;
cout « "Value of d : " « d « endl;
cout « "Value of d reference : " « s « endl;
return 0;
}
—----------------------------
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه سوم: #php3)
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/575hgj5clc1c/php3.pdf.html
🆔 @itfarsi
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/575hgj5clc1c/php3.pdf.html
🆔 @itfarsi
✳️ مفهوم کلاس در cpp
—------------------—
#include <iostream>
using namespace std;
class Box
{
public:
double length; // Length of a box
double breadth; // Breadth of a box
double height; // Height of a box
};
int main( )
{
Box Box1; // Declare Box1 of type Box
Box Box2; // Declare Box2 of type Box
double volume = 0.0; // Store the volume of a box here
// box 1 specification
Box1.height = 5.0;
Box1.length = 6.0;
Box1.breadth = 7.0;
// box 2 specification
Box2.height = 10.0;
Box2.length = 12.0;
Box2.breadth = 13.0;
// volume of box 1
volume = Box1.height * Box1.length * Box1.breadth;
cout « "Volume of Box1 : " « volume «endl;
// volume of box 2
volume = Box2.height * Box2.length * Box2.breadth;
cout « "Volume of Box2 : " « volume «endl;
return 0;
}
—---------------
🆔 @computeriha
—------------------—
#include <iostream>
using namespace std;
class Box
{
public:
double length; // Length of a box
double breadth; // Breadth of a box
double height; // Height of a box
};
int main( )
{
Box Box1; // Declare Box1 of type Box
Box Box2; // Declare Box2 of type Box
double volume = 0.0; // Store the volume of a box here
// box 1 specification
Box1.height = 5.0;
Box1.length = 6.0;
Box1.breadth = 7.0;
// box 2 specification
Box2.height = 10.0;
Box2.length = 12.0;
Box2.breadth = 13.0;
// volume of box 1
volume = Box1.height * Box1.length * Box1.breadth;
cout « "Volume of Box1 : " « volume «endl;
// volume of box 2
volume = Box2.height * Box2.length * Box2.breadth;
cout « "Volume of Box2 : " « volume «endl;
return 0;
}
—---------------
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ یک کتاب خوب برای بچه های هوش مصنوعی (#بینایی_ماشین، #شناسایی_الگو و #احتمال)
🌎 لینک دانلود:
🌎 http://uploadboy.me/5019s4hqjc1h/@computeriha_Machine_Learning-_A_Probabilistic_Perspective.pdf.html
🆔 @booksharing
🆔 @computeriha
🌎 لینک دانلود:
🌎 http://uploadboy.me/5019s4hqjc1h/@computeriha_Machine_Learning-_A_Probabilistic_Perspective.pdf.html
🆔 @booksharing
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه سوم: #php4)
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/b4us5sue0s4f/@itfarsi_php4.pdf.html
🆔 @itfarsi
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/b4us5sue0s4f/@itfarsi_php4.pdf.html
🆔 @itfarsi
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ استیو جابز: سادگی و تمرکز از مهمترین اعتقادات من هستند.سادگی میتونه دشوارتر از پیچیدگی باشه! خیلی باید کار کنید تا بتونید اندیشه خودتونو شفاف و ساده ارائه کنید. 🌹
🆔 @itfarsi
🆔 @itfarsi
Forwarded from دستیار زیر نویس و هایپر لینک
Forwarded from دستیار زیر نویس و هایپر لینک
Forwarded from دستیار زیر نویس و هایپر لینک
[ Photo ]
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه پنجم: #php5)
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/2c5n8ln3plvj/@itfarsi_PHP5.pdf.html
🆔 @itfarsi
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه پنجم: #php5)
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/2c5n8ln3plvj/@itfarsi_PHP5.pdf.html
🆔 @itfarsi
Forwarded from دستیار زیر نویس و هایپر لینک
کامپیوتری ها
✳️ مفهوم کلاس در cpp —------------------— #include <iostream> using namespace std; class Box { public: double length; // Length of a box double breadth; // Breadth of a box double height; // Height of a box }; int main( ) { …
✳️ ارث بری در cpp
—---------------------------------------
#include <iostream>
using namespace std;
// Base class
class Shape
{
public:
void setWidth(int w)
{
width = w;
}
void setHeight(int h)
{
height = h;
}
protected:
int width;
int height;
};
// Derived class
class Rectangle: public Shape
{
public:
int getArea()
{
return (width * height);
}
};
int main(void)
{
Rectangle Rect;
Rect.setWidth(5);
Rect.setHeight(7);
// Print the area of the object.
cout « "Total area: " « Rect.getArea() « endl;
return 0;
}
—-------------------------------
🆔 @computeriha
—---------------------------------------
#include <iostream>
using namespace std;
// Base class
class Shape
{
public:
void setWidth(int w)
{
width = w;
}
void setHeight(int h)
{
height = h;
}
protected:
int width;
int height;
};
// Derived class
class Rectangle: public Shape
{
public:
int getArea()
{
return (width * height);
}
};
int main(void)
{
Rectangle Rect;
Rect.setWidth(5);
Rect.setHeight(7);
// Print the area of the object.
cout « "Total area: " « Rect.getArea() « endl;
return 0;
}
—-------------------------------
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ کتابی در مورد cpp
✳️ Programming Fundamentals - A Modular Structured Approach using C++
🌎 لینک دانلود:
🌎 http://uploadboy.me/7eqjdp48oe1q/@computeriha_Programming_cpp.pdf.html
🆔 @booksharing
🆔 @computeriha
✳️ Programming Fundamentals - A Modular Structured Approach using C++
🌎 لینک دانلود:
🌎 http://uploadboy.me/7eqjdp48oe1q/@computeriha_Programming_cpp.pdf.html
🆔 @booksharing
🆔 @computeriha
✳️ ارث بری چند گانه در cpp
—-------------------------------------
#include <iostream>
using namespace std;
// Base class Shape
class Shape
{
public:
void setWidth(int w)
{
width = w;
}
void setHeight(int h)
{
height = h;
}
protected:
int width;
int height;
};
// Base class PaintCost
class PaintCost
{
public:
int getCost(int area)
{
return area * 70;
}
};
// Derived class
class Rectangle: public Shape, public PaintCost
{
public:
int getArea()
{
return (width * height);
}
};
int main(void)
{
Rectangle Rect;
int area;
Rect.setWidth(5);
Rect.setHeight(7);
area = Rect.getArea();
// Print the area of the object.
cout « "Total area: " « Rect.getArea() « endl;
// Print the total cost of painting
cout « "Total paint cost: $" « Rect.getCost(area) « endl;
return 0;
}
—---------------------------—
🆔 @computeriha
—-------------------------------------
#include <iostream>
using namespace std;
// Base class Shape
class Shape
{
public:
void setWidth(int w)
{
width = w;
}
void setHeight(int h)
{
height = h;
}
protected:
int width;
int height;
};
// Base class PaintCost
class PaintCost
{
public:
int getCost(int area)
{
return area * 70;
}
};
// Derived class
class Rectangle: public Shape, public PaintCost
{
public:
int getArea()
{
return (width * height);
}
};
int main(void)
{
Rectangle Rect;
int area;
Rect.setWidth(5);
Rect.setHeight(7);
area = Rect.getArea();
// Print the area of the object.
cout « "Total area: " « Rect.getArea() « endl;
// Print the total cost of painting
cout « "Total paint cost: $" « Rect.getCost(area) « endl;
return 0;
}
—---------------------------—
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه ششم: #php6)
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/sl5dgu7b7zwk/@itfarsi_php6.pdf.html
🆔 @itfarsi
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/sl5dgu7b7zwk/@itfarsi_php6.pdf.html
🆔 @itfarsi