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

  FORUM HardWare.fr
  Programmation
  C++

  dialogbox en vc++

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

dialogbox en vc++

n°1159908
d_imane
Posté le 26-07-2005 à 11:24:26  profilanswer
 

:hello: bonjour tous le monde.
 :whistle: j'ai le programme suivant:

Code :
  1. #include<iostream>
  2. void main(int argc, char* argv[])
  3. {
  4. float xmi=3.4,xma=39.6,ymi=3.4,yma=39.6;
  5.     base bas(xmi,xma,ymi,yma);
  6.     bas.afficher();
  7.     bas.ReaDataFile();
  8. vecteur::vecteur(){}
  9. vecteur::vecteur(const vecteur &p){x=p.x;y=p.y;id=p.id;}
  10. void vecteur::afficher()
  11. {   
  12. cout<<"id= "<<id<<endl;
  13. cout<<"xy: "<<x<<" "<<y<<endl;
  14. }
  15. vecteur::~vecteur(){}
  16. base::base(float a,float b,float c,float d)
  17. {
  18. int i=0,p=0;
  19. size_t l = 0;
  20. float value,val1,val2;
  21. ifstream Al;
  22. xmin=a;
  23. xmax=b;
  24. ymin=c; 
  25. ymax=d;
  26. Dimbase=dim;
  27.      std::vector<vecteur>vect(dim);
  28. Al.open("fich.txt" );
  29. while (i <(Dimbase*2) ) 
  30.  Al >> value;
  31.  val1=value;
  32.  Al >> value;
  33.  val2=value;
  34.     vect[l].x=val1;
  35.     vect[l].y=val2;
  36.     vect[l].id=compt++;
  37.     l++;
  38.  i=i+2;
  39. }
  40. Al.close();
  41. }
  42. void base::afficher()
  43. {
  44. cout<<"=================la base==========================="<<endl;
  45. cout<<"xmin= "<<xmin<<"  "<<"xmax=  "<<xmax<<endl;
  46. cout<<"ymin= "<<ymin<<"  "<<"ymax=  "<<ymax<<endl;
  47. }
  48. base::~base(){}


 :bounce: je diriger l'ecran d'execution vers le dialogbox , j'aimerai bien afficher les résultats dans le dialog box de vc++ 6.0
quelqu'un a une idée!!!
merci d'avance

mood
Publicité
Posté le 26-07-2005 à 11:24:26  profilanswer
 


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

  dialogbox en vc++

 

Sujets relatifs
Bloquer le resize MFC d'une dialogbox ?[api windows] comment créer une 2eme dialogbox[résolu]
[C++] Dernier sujet sur les dialogbox [resolu]MFC: cliquer un bouton pour changer l'image en fond de dialogbox
[C...] DialogBox sous VC++[WIN32]Ecrire fichier a partir dialogbox
[C++] Charger une DialogBox depuis une dll 
Plus de sujets relatifs à : dialogbox en vc++


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)