کامپیوتری ها – Telegram
کامپیوتری ها
3.45K subscribers
4.41K photos
496 videos
476 files
467 links
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
❇️ استفاده از هوش مصنوعی کامپیوتر 🖥
و تکان دادن توپ از راه دور
با استفاده از ریز ربات ها 🔴

🆔 @gifvideo
🆔 @computeriha
🆔 @itfarsi
✳️ خواندن و نوشتن از فایل در C

—------------------------------------------------
#include <stdio.h>

void main() {
FILE *fp;
char buff[255];

// %%%%%%%%%%%%% Write
fp = fopen("g:/test.txt", "w+");
fprintf(fp, "This is testing for fprintf...\n");
fputs("This is testing for fputs...\n", fp);
fclose(fp);

// %%%%%%%%%%%%% Read
fp = fopen("g:/test.txt", "r");
fscanf(fp, "%s", buff);
printf("1 : %s\n", buff );

fgets(buff, 255, (FILE*)fp);
printf("2: %s\n", buff );

fgets(buff, 255, (FILE*)fp);
printf("3: %s\n", buff );
fclose(fp);

}
—----------------------
🆔 @computeriha
عید همگی مبارک 🌹🌹🌹
🆔 @itfarsi
✳️ میدانیم که استفاده از دستور if در متلب باعث کاهش سرعت برنامه می شود. یه راه حل ساده برای محدود کردن اعداد یک آرایه بین دو باند رو ببینید.
🆔 @computeriha
✳️ نوشتن تابع بازگشتی در 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
This media is not supported in your browser
VIEW IN TELEGRAM
✳️ نگرانی والدین از عصر جدید اطلاعات

🆔 @itfarsi
✳️ کتاب در مورد ساختمان داده و برنامه نویسی
✳️ Notes on Data Structures and Programming Techniques

🌎 لینک دانلود:
🌎 http://uploadboy.me/mnrmptat5eur/@computeriha-notes_data.pdf.html

🆔 @booksharing
🆔 @computeriha
✳️ دانلود برنامه پایتون🌎 دانلود مستقیم از کانال 👇👇👇👇👇👇👇👇👇👇

🆔 @computeriha
✳️ شروع برنامه نویسی پایتون 😃🌹
🆔 @computeriha
Forwarded from Deleted Account
📔📕📗
به مناسبت نمايشگاه كتاب


فروش كتاب "امنيت اطلاعات"
با ٢٠٪‏ تخفيف و ارسال رايگان به سراسر كشور

👇👇👇
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
✳️ تفاوت وجود 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
✳️ نوشتن کد برنامه پایتون در اسکریپت و اجرا با F5

🆔 @computeriha
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه اول: #php1)

🌎 دانلود از لینک زیر:
🌎 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
✳️ آموزش قدم به قدم برنامه نویسی وب با PHP (جلسه دوم: #php2)

🌎 دانلود از لینک زیر:
🌎 http://uploadboy.me/mbqji9g4sjl1/php2.pdf.html

🆔 @itfarsi