Fabien Lepoutre
/
Prog_Projet
Projet3i4
Diff: LibTest.cpp
- Revision:
- 1:bb98d7d1e25f
- Parent:
- 0:f0c9c47e4edd
--- a/LibTest.cpp Mon Apr 23 14:40:40 2012 +0000 +++ b/LibTest.cpp Tue Apr 24 14:51:28 2012 +0000 @@ -5,16 +5,15 @@ int i_IntroTest(){ int choix; - cout<<endl<<"Programme de test \r"<<endl; + printf("\r\n Programme de test \r"); - cout<<"Selectionner le test a effectuer: \n\r"; - cout<<"1. CAN / CNA \n\r"; - - cout<<"Choix : "; - cin>>choix; - cout<<choix<<"\r\n"; - - + printf("Selectionner le test a effectuer: \n\r"); + printf("1. CAN / CNA \n\r"); + printf("2. Connexion SPI \n\r"); + printf("4. Test Complet\r\n"); + printf("5. Quitter \r\n"); + printf("Choix : "); + scanf("%d", &choix); return choix; }