✳️ نوشتن تابع بازگشتی در C (فاکتوریل)
—------------------—
#include <stdio.h>
int factorial(unsigned int i) {
if(i <= 1) {
return 1;
}
return i * factorial(i - 1);
}
int main() {
int i = 15;
printf("Factorial of %d is %d\n", i, factorial(i));
return 0;
}
—----------------------------
🆔 @computeriha
—------------------—
#include <stdio.h>
int factorial(unsigned int i) {
if(i <= 1) {
return 1;
}
return i * factorial(i - 1);
}
int main() {
int i = 15;
printf("Factorial of %d is %d\n", i, factorial(i));
return 0;
}
—----------------------------
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ کتاب در مورد ساختمان داده و برنامه نویسی
✳️ Notes on Data Structures and Programming Techniques
🌎 لینک دانلود:
🌎 http://uploadboy.me/mnrmptat5eur/@computeriha-notes_data.pdf.html
🆔 @booksharing
🆔 @computeriha
✳️ Notes on Data Structures and Programming Techniques
🌎 لینک دانلود:
🌎 http://uploadboy.me/mnrmptat5eur/@computeriha-notes_data.pdf.html
🆔 @booksharing
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ برنامه نویسی c#
🌎 لینک دانلود:
🌎 http://uploadboy.me/n0keu32fr73d/@computeriha-csharp_tutorial.pdf.html
🆔 @booksharing
🆔 @computeriha
🌎 لینک دانلود:
🌎 http://uploadboy.me/n0keu32fr73d/@computeriha-csharp_tutorial.pdf.html
🆔 @booksharing
🆔 @computeriha
Forwarded from Deleted Account
📔📕📗
به مناسبت نمايشگاه كتاب
فروش كتاب "امنيت اطلاعات"
با ٢٠٪ تخفيف و ارسال رايگان به سراسر كشور
👇👇👇
http://goo.gl/rtLLbO
به مناسبت نمايشگاه كتاب
فروش كتاب "امنيت اطلاعات"
با ٢٠٪ تخفيف و ارسال رايگان به سراسر كشور
👇👇👇
http://goo.gl/rtLLbO
✳️ اولین برنامه cpp
#include <iostream>
using namespace std;
// tozih dar ayande
int main()
{
// cout bejaye printf dar c
cout « "Salam @computeriha"«endl;
return 0;
}
🆔 @computeriha
#include <iostream>
using namespace std;
// tozih dar ayande
int main()
{
// cout bejaye printf dar c
cout « "Salam @computeriha"«endl;
return 0;
}
🆔 @computeriha
✳️ تفاوت وجود using namespace std و عدم وجودشو ببینید (cpp)
#include <iostream>
int main()
{
std::cout « "Hello World";
system("pause");
return 0;
}
—---------------------------------------------
#include <iostream>
using namespace std;
int main()
{
cout « "Hello World";
system("pause");
return 0;
}
—---------------------------------—
🆔 @computeriha
#include <iostream>
int main()
{
std::cout « "Hello World";
system("pause");
return 0;
}
—---------------------------------------------
#include <iostream>
using namespace std;
int main()
{
cout « "Hello World";
system("pause");
return 0;
}
—---------------------------------—
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه اول: #php1)
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/2g8yg1wfspm4/PHP1.pdf.html
🆔 @itfarsi
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/2g8yg1wfspm4/PHP1.pdf.html
🆔 @itfarsi
✳️ Function declaration, definition and call in c++
—---------------------—
// function declaration
int func();
int main()
{
// function call
int i = func();
}
// function definition
int func()
{
return 0;
}
—-------------
🆔 @computeriha
—---------------------—
// function declaration
int func();
int main()
{
// function call
int i = func();
}
// function definition
int func()
{
return 0;
}
—-------------
🆔 @computeriha
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه دوم: #php2)
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/mbqji9g4sjl1/php2.pdf.html
🆔 @itfarsi
🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/mbqji9g4sjl1/php2.pdf.html
🆔 @itfarsi
Forwarded from دستیار زیر نویس و هایپر لینک
✳️ کتاب برنامه نویسی کاربردی هوش مصنوعی با زبان جاوا
🌎 دانلود مستقیم از کانال 👇👇👇👇👇👇👇👇👇👇
🆔 @booksharing
🆔 @computeriha
🌎 دانلود مستقیم از کانال 👇👇👇👇👇👇👇👇👇👇
🆔 @booksharing
🆔 @computeriha
✳️ ایجاد رفرنس در 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