#include <iostream>
#include <stdlib.h>
+using namespace std;
+#include "02_ProduitScalaire/ProduitScalaire.h"
-using std::cout;
-using std::endl;
-
-/*----------------------------------------------------------------------*\
- |* Declaration *|
- \*---------------------------------------------------------------------*/
-
-/*--------------------------------------*\
- |* Imported *|
- \*-------------------------------------*/
-
-extern bool useHello(void);
+extern bool useHello();
extern bool addVectors();
-/*--------------------------------------*\
- |* Public *|
- \*-------------------------------------*/
-
-int mainCore();
-
-/*--------------------------------------*\
- |* Private *|
- \*-------------------------------------*/
-
-
-
-/*----------------------------------------------------------------------*\
- |* Implementation *|
- \*---------------------------------------------------------------------*/
-
-/*--------------------------------------*\
- |* Public *|
- \*-------------------------------------*/
-
int mainCore()
{
bool isOk = true;
- isOk &= useHello();
- isOk &= addVectors();
+ /*isOk &= useHello();
+ isOk &= addVectors();*/
+ isOk &= produitScalaire();
cout << "\nisOK = " << isOk << endl;
cout << "\nEnd : mainCore" << endl;
return isOk ? EXIT_SUCCESS : EXIT_FAILURE;
}
-/*--------------------------------------*\
- |* Private *|
- \*-------------------------------------*/
-
-
-
-/*----------------------------------------------------------------------*\
- |* End *|
- \*---------------------------------------------------------------------*/
-