Guest User

main.cpp

a guest
Nov 19th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include "pile.h"
  2. #include<conio.h>
  3. void main(){
  4.         pile p(5);
  5.        
  6.         bool b=p.EstVide();
  7.         if(b==0) cout<<"la pile est vide";
  8.         else cout<<"la pile n'est pas vide";
  9.        
  10.         p.Empile(15);
  11.         p.Affiche();
  12.  
  13.         getch();
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment