RDV+DIAL chat illimit� dans ta r�g!
no save
Assistance
Achat
News

Forum | programmation
exo programmation C++
jeje_du_70, le dim. 09 janv. 2005 à 10:23:09
bonjour
j'ai un probleme avec cette exo de C++ quand je compile avec DEV C++ il ne trouve pas les fonction clrscr et gotoxy
je ne sais pas trop comment utilose ses deux foction si quelqu'un sais
comment on utilise ses deux fonction peut il me repondre
merci


#include <iostream.h>
#include <conio.h>

int calculY(int,int,int);

int main()
{
int a,b,i;
int y;
cout<<"ENTRER LA VALEUR DE a :\n ";
cin>>a;
cout<<"ENTRER LA VALEUR DE b :\n ";
cin>>b;
clrscr();
for (i=1;i<=20;i++)
{
y=calculY(i,a,b);
gotoxy(30+i,30-y);
cout<<i;
}
}

int calculY(int x,int a,int b)
{
int val;
val=a*x+b;
return val;
}


Greeny
janv. 05
Suivant
REPONSES
Greeny
janv. 05
nemesis
mars 05
hina
mars 05
pom
mars 05
hina
mars 05
dareal
oct. 07
lami20j
oct. 07
navigare
janv. 08
mimo.hamza
janv. 08
Dièz
mars 08
Version Web
Réalisé par RedShift
no save