Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1246 connectés 

  FORUM HardWare.fr
  Programmation

  SVP Prgrammer un cercle en C++ (ou C) en fonction du cent. et du ray.

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

SVP Prgrammer un cercle en C++ (ou C) en fonction du cent. et du ray.

n°63392
DrWatson
_@''
Posté le 05-10-2001 à 10:55:30  profilanswer
 

Pour moi c'est loin, j'ai fait du C++ à mon bts mais je ne travaille pas dans le dev (ça fait 3 ans) donc c'est loin, quelqu'un peut il me filer un code tout simple pour tracer un cercle ?
 
Merci d'avance  :jap:

 

[edtdd]--Message édité par DrWatson--[/edtdd]


---------------
.:: Feed-Back  ::. Choisis un travail que tu aimes, et tu n'auras pas à travailler un seul jour de ta vie.
mood
Publicité
Posté le 05-10-2001 à 10:55:30  profilanswer
 

n°63402
DrWatson
_@''
Posté le 05-10-2001 à 11:15:56  profilanswer
 

S'ils vous plait  :(


---------------
.:: Feed-Back  ::. Choisis un travail que tu aimes, et tu n'auras pas à travailler un seul jour de ta vie.
n°63418
youdontcar​e
Posté le 05-10-2001 à 11:31:57  profilanswer
 

l'algo c'est bresenham, cherche là-dedans : http://www.google.com/search?sourc [...] ham+circle
 
un cercle ou un disque d'ailleurs ? parce qu'un disque c'est bcp plus simple.

n°63428
DrWatson
_@''
Posté le 05-10-2001 à 11:41:01  profilanswer
 

youdontcare a écrit a écrit :

l'algo c'est bresenham, cherche là-dedans : http://www.google.com/search?sourc [...] ham+circle
 
un cercle ou un disque d'ailleurs ? parce qu'un disque c'est bcp plus simple.  




 
Merci  :)


---------------
.:: Feed-Back  ::. Choisis un travail que tu aimes, et tu n'auras pas à travailler un seul jour de ta vie.
n°63451
Carbon_14
Posté le 05-10-2001 à 12:28:41  profilanswer
 

Dans les API, il y a  
The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.  
 
BOOL Ellipse(
 
    HDC hdc, // handle to device context  
    int nLeftRect, // x-coord. of bounding rectangle's upper-left corner  
    int nTopRect, // y-coord. of bounding rectangle's upper-left corner  
    int nRightRect, // x-coord. of bounding rectangle's lower-right corner  
    int nBottomRect  // y-coord. bounding rectangle's f lower-right corner  
   );

n°63458
DrWatson
_@''
Posté le 05-10-2001 à 12:44:47  profilanswer
 

CARBON_14 a écrit a écrit :

Dans les API, il y a  
The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.  
 
BOOL Ellipse(
 
    HDC hdc, // handle to device context  
    int nLeftRect, // x-coord. of bounding rectangle's upper-left corner  
    int nTopRect, // y-coord. of bounding rectangle's upper-left corner  
    int nRightRect, // x-coord. of bounding rectangle's lower-right corner  
    int nBottomRect  // y-coord. bounding rectangle's f lower-right corner  
   );  




 
Merci aussi  :)


---------------
.:: Feed-Back  ::. Choisis un travail que tu aimes, et tu n'auras pas à travailler un seul jour de ta vie.
n°63462
Carbon_14
Posté le 05-10-2001 à 13:02:16  profilanswer
 

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation

  SVP Prgrammer un cercle en C++ (ou C) en fonction du cent. et du ray.

 

Sujets relatifs
[PHP] Crée une fonction de recherche sur une base MySQL[matlab] paramètre optionnel dans une fonction ...
cherche nom de fonction en cSVP creation .exe sous vb6......
comment ouvrir une image au survol d'un liens? SVPEXCEL : Fonction SI imbriqué :( aidez moi
[php] pouvez vous tester (la fonction recherche de) mon forum ???Urgent SVP !
[JAVASRIPT]redirection visteur en fonction de sa version de Windoz ?Problème avec la fonction fopen
Plus de sujets relatifs à : SVP Prgrammer un cercle en C++ (ou C) en fonction du cent. et du ray.


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR