eshkal dar ejraye barname

3 views
Skip to first unread message
Message has been deleted
Message has been deleted

Ashvazadangahe

unread,
Mar 28, 2009, 4:51:01 PM3/28/09
to ITBP
salam be hamegi
salenotoon mobarakbache ha
man tooye ejraye barnameham be moshkel bar khordam.
mogheye ejra barnamamtanesfeejra mishe
hachiyam bar namaro eslah mikonam ya hatta avazesh mikonam bazam
hamoon bartnamye ghabli ejram mishe.
masalan minevisam
Cout<<'salam';
ejra ke mikonam minevise salam
vali vaghi avazesh mikonam
cout<<"salaaam";
bazam hamoon salam ghabli ro chapmikone
yani aslan taghro ghabool nemikone hatta vaghti kolle barnamaroavaz
mikonambazam barnameye ghabli ejra mishe.
mamnoon misham komak konid.
M@hmood

arezoo arezoo

unread,
Mar 28, 2009, 6:27:11 PM3/28/09
to itb...@googlegroups.com

salam.

barnamatun chand ta moshkele kuchik dasht ke age be shekle zir taghieresh bedin hal mishe.

system("cls") ham nabayad akhare barname bashe chon oon moghe age barname kamel ejra beshe akharsar hamechiro pak mikone dige chizi nemimune.

 

#include

<iostream>

#include

<stdlib.h>

#include

<stdio.h>

#include

<conio.h>

using

namespace std;

int

main()

{

int x,y;

system(

"cls");

cout<<

"Please enter to integers\n";

cin>>x>>y;

cout<<

"Before chengin X:"<<x<<"\tY:"<<y;

x+=y;

y=x-y;

x-=y;

cout<<

"\n After changin X:"<<x<<"\tY:"<<y;

getch();

return 0;

}




From: Ashvazadangahe <jam...@yahoo.com>
To: ITBP <itb...@googlegroups.com>
Sent: Saturday, March 28, 2009 1:31:06 PM
Subject: --- ITPB --- eshkal dar ejraye barname


salam be hamegi sale notoon mobarak bache ha.
man too ejraye barname ha moshkelpeyda kardam.
barnamam faghat ta 2ta COUT<< ro ejra mikonan  badesh miyabiroon.
barnamama in ziriyas
mamnoon misham komakkonid.
#include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
    int x,y;
    cout<<"Please enter to integers\n";
    cin>>x>>y;
    cout<<"Before chengin X:"<<x<<"\tY:"<<y;
    x+=y;
    y=x-y;
    x-=y;
    cout<<"\n After changin X:"<<x<<"\tY:"<<y;
    cls();
    return 0;

}

Reza

unread,
Mar 29, 2009, 5:29:26 AM3/29/09
to ITBP
Salam
Age hamchin moshkeli dari chizi ro ke migam emtahan kon:
1.Boro be menuye "Build"
2."Rebuild solution" ro entekhab kon
3.dobare barnamat ro ejra kon
movafagh bashi

ashvazadangahe

unread,
Mar 29, 2009, 7:11:33 AM3/29/09
to ITBP
arezooye aziz
mamnoon ke vaght gozashti va javab dadi
sale khoobidashte bashi
M@hmood

ashvazadangahe

unread,
Mar 29, 2009, 7:12:26 AM3/29/09
to ITBP
agha reza mamnoon dorost shod
Jobran konim aziz

ashvazadangahe

unread,
Mar 30, 2009, 2:30:55 AM3/30/09
to ITBP

salam khaste nabashid
man barnameye ziro neveshtam vali too ejrash to ta moshkel daram
1- saate man (h) haishe sefre
2- syn. ke ostad goft vase delay barname ke vase 1 saniye sabrkone kar
nemikone. header doroste vali syn. kar nemikone.


#include <iostream>
#include <stdlib.h>
#include <windows.h> //Nemidoonam az che syntaxi baraye sleep
estefadekonam. sleep (1000) kar nemikone.
using namespace std;
int main ()
{

int s=0,m,h,d,month, year;
cout<<" Please enter the amount of the following items below\n";
cout<<" present minute:";
cin>>m;
cout<<"\n Present hour in 24h form:";
cin>>h;
cout<<"\n the number of to day in month Day: ";
cin>>d;
cout<<"\n Month:";
cin>>month;
cout<<"\n Year:";
cin>>year;

while (true)
{


system("cls");
s++;
if (s==60)
{m++;
s=0;
}
if (m==60)
{h++;
m=0;
}
if (h=24)
{d++;
h=0;
}
if (month<=6&& d==32)
{month++;
d=1;
}
if(month>6&& d==31)
{month++;
d=1;
}
if (month==13)
{year++;
month=1;
}

cout<<year<<"\\"<<month<<"\\"<<d<<"\
\"<<"\t"<<h<<"."<<m<<"."<<s<<endl;
}
return 0;
}

sina 0441

unread,
Mar 30, 2009, 2:59:04 AM3/30/09
to itb...@googlegroups.com
slm
mahmud eshkal az header file hast.
manam hamin moshkelo daram.
barnamam 2 borland C kar mikone wali 2 visual C++ na.

arezoo arezoo

unread,
Mar 30, 2009, 3:48:13 AM3/30/09
to itb...@googlegroups.com
salam.
sleep(1000) moshkeli nadare faghat bayad harfe avalesh (S) ba harfe bozorgh neveshte she.


From: ashvazadangahe <jam...@yahoo.com>
To: ITBP <itb...@googlegroups.com>
Sent: Sunday, March 29, 2009 11:30:55 PM
Subject: --- ITPB --- Re: eshkal dar ejraye barname
Reply all
Reply to author
Forward
0 new messages