تازه های کامپیوتر و برنامه نویسی

آموزش کامپیوتر , برنامه نویسی , نرم افزار

تازه های کامپیوتر و برنامه نویسی

آموزش کامپیوتر , برنامه نویسی , نرم افزار

آموزش کار با کامپیوتر و ویندوز

در این مطلب قصد داریم یک آموزش مفید در مورد کار با ویندوز و کامپیوتر را برای شما دوستان ارائه کنیم.در این آموزش به تاریخچه اولین کامپیوتر ها ,مباحث سخت افزار و نرم افزار ها پرداخته شده است.


آموزش مقدماتی کامپیوتر و ویندوز



فلوچارت ایجاد عددهای دو رقمی

این فلوچارت با عدد های 1و3و5و7 عددهای دو رقمی ایجاد می کند.



فلوچارت محاسبه میانگین

این فلوچارت میانگین (معدل) ده عددی را که از ورودی دریافت کرده است را محاسبه می کند.



سورس کد یافتن کلمه ای دلخواه در متن به زبان c

برنامه ی زیر می تواند برای شما کلمه ای را که در متنی انتخاب شده وجود دارد پیدا کند ،بدین صورت که شماره ی اولین کاراکتر کلمه ی درخواستی را برایتان بر می گرداند.

#include<stdio.h>
#include<conio.h>
#include <string.h>


void main ()
{
    char matn[2024]= "\tFlower was primarily intended to arouse positive emotions in player,\n\
    \trather than to be a challenging and fun game. This focus was sparked \n\
    \tby Chen, who felt that the primary purpose of entertainment products \n\
    \tgames was the feelings that they evoked in the audience, and that\n\
    \temotional range of most games was very limited. The team viewed\n \
    \ttheir efforts as creating a work of art, removing gameplay elements\n \
    \tmechanics that were not provoking the desired response in the players.\n\
    \tThe music, composed by Vincent Diamante, dynamically responds to the\n\
    \tplayer's actions and corresponds with the emotional cues in the game. \t\n" ;

     char kalame[80];
    char *ptrBekalame ;
    int n;

    printf("%s",matn);
    printf("dar matn balaa ,che kalame raa pieda konad:");
    scanf ("%s",kalame);
    ptrBekalame =strstr(matn,kalame);
    if (ptrBekalame==NULL){
        printf ("dar matn pieda nashod");
    } else {
            n=(int)(ptrBekalame-matn);
            printf ("kalame %s character %d ast",kalame,n);
    getch();
}
}