Forwarded from پست @itfarsi
✳️بهزودی فیسبوک پستهای شما را در 44 زبان به صورت زنده ترجمه خواهد کرد
🌎 http://goo.gl/6djbWg
➖➖➖➖➖
🆔 @ITfarsi
🌎 http://goo.gl/6djbWg
➖➖➖➖➖
🆔 @ITfarsi
Forwarded from کامپیوتری ها
Forwarded from کامپیوتری ها
#یادگیری_ماشین #ارشد و #دکتری #هوش_مصنوعی
#machine_learning
Introduction to Machine Learning
Ethem Alpaydin
#machine_learning
Introduction to Machine Learning
Ethem Alpaydin
کامپیوتری ها
✳️ C++ Exception Handling —------------------------ #include <iostream> using namespace std; double division(int a, int b) { if( b == 0 ) { throw "Division by zero condition!"; } return (a/b); } int main () { int x = 50; int y =…
1⃣0⃣ Define New Exceptions in c++
—-------------------
#include <iostream>
#include <exception>
using namespace std;
struct MyException : public exception
{
const char * what () const throw ()
{
return "C++ Exception";
}
};
int main()
{
try
{
throw MyException();
}
catch(MyException& e)
{
std::cout « "MyException caught" « std::endl;
std::cout « e.what() « std::endl;
}
catch(std::exception& e)
{
//Other errors
}
}
—------------------
0⃣1⃣ @computeriha
—-------------------
#include <iostream>
#include <exception>
using namespace std;
struct MyException : public exception
{
const char * what () const throw ()
{
return "C++ Exception";
}
};
int main()
{
try
{
throw MyException();
}
catch(MyException& e)
{
std::cout « "MyException caught" « std::endl;
std::cout « e.what() « std::endl;
}
catch(std::exception& e)
{
//Other errors
}
}
—------------------
0⃣1⃣ @computeriha
Forwarded from IT (تکنولوژی اطلاعات)
✳️آخرین آپدیت جدید اینستاگرام
Inestgram 8.5.0
🌎 دانلود مستقیم 👇👇👇
🆔 https://telegram.me/joinchat/BMWizTugT5Qvr54A8-PPXA
Inestgram 8.5.0
🌎 دانلود مستقیم 👇👇👇
🆔 https://telegram.me/joinchat/BMWizTugT5Qvr54A8-PPXA