Forwarded from IT (تکنولوژی اطلاعات)
✳️ انویدیا کارت گرافیک GeForce GTX 1060 را معرفی کرد
🌎 http://digiro.ir/nvidia-announces-geforce-gtx-1060-graphics-card/
➖➖➖➖➖
🆔 @ITfarsi
🌎 http://digiro.ir/nvidia-announces-geforce-gtx-1060-graphics-card/
➖➖➖➖➖
🆔 @ITfarsi
0⃣1⃣ C++ Dynamic Memory
#include <iostream>
using namespace std;
int main ()
{
double* pvalue = NULL; // Pointer initialized with null
pvalue = new double; // Request memory for the variable
*pvalue = 29494.99; // Store value at allocated address
cout « "Value of pvalue : " « *pvalue « endl;
delete pvalue; // free up the memory.
return 0;
}
1⃣0⃣ @computeriha
#include <iostream>
using namespace std;
int main ()
{
double* pvalue = NULL; // Pointer initialized with null
pvalue = new double; // Request memory for the variable
*pvalue = 29494.99; // Store value at allocated address
cout « "Value of pvalue : " « *pvalue « endl;
delete pvalue; // free up the memory.
return 0;
}
1⃣0⃣ @computeriha
This media is not supported in your browser
VIEW IN TELEGRAM
0⃣1⃣ تقلید هوش مصنوعی از نوع راه رفتن انسان
📌 این ربات برای راه رفتن، ابتدا پاشنه پا را بر زمین میگذارد و با انگشتان پا، خود را به جلو میراند. / خبرفوری
1⃣0⃣ @computeriha
📌 این ربات برای راه رفتن، ابتدا پاشنه پا را بر زمین میگذارد و با انگشتان پا، خود را به جلو میراند. / خبرفوری
1⃣0⃣ @computeriha
#وب
#web #html #css #javanoscript #php #mysql
The Web Book
How to create web sites and applications with HTML, CSS, Javanoscript, PHP and MySQL.
#Schifreen
@computeriha
#web #html #css #javanoscript #php #mysql
The Web Book
How to create web sites and applications with HTML, CSS, Javanoscript, PHP and MySQL.
#Schifreen
@computeriha
#آیتیطنز #گوگل
اگه گوگل ایرانی بود، بالاش مینوشتن "هرچیز که در جستن آنی، آنی".
× ѕαєє∂ мoѕℓємι ×
🆔 @computeriha
اگه گوگل ایرانی بود، بالاش مینوشتن "هرچیز که در جستن آنی، آنی".
× ѕαєє∂ мoѕℓємι ×
🆔 @computeriha
1⃣0⃣ Dynamic Memory Allocation for Objects
#include <iostream>
using namespace std;
class Box
{
public:
Box() {
cout « "Constructor called!" «endl;
}
~Box() {
cout « "Destructor called!" «endl;
}
};
int main( )
{
Box* myBoxArray = new Box[4];
delete [] myBoxArray; // Delete array
return 0;
}
—------------------------—
compile and run:
Constructor called!
Constructor called!
Constructor called!
Constructor called!
Destructor called!
Destructor called!
Destructor called!
Destructor called!
0⃣1⃣ @computeriha
#include <iostream>
using namespace std;
class Box
{
public:
Box() {
cout « "Constructor called!" «endl;
}
~Box() {
cout « "Destructor called!" «endl;
}
};
int main( )
{
Box* myBoxArray = new Box[4];
delete [] myBoxArray; // Delete array
return 0;
}
—------------------------—
compile and run:
Constructor called!
Constructor called!
Constructor called!
Constructor called!
Destructor called!
Destructor called!
Destructor called!
Destructor called!
0⃣1⃣ @computeriha