renforcement + livre

This commit is contained in:
Debucquoy
2022-11-09 16:22:14 +01:00
parent d574695633
commit 948d17166a
15 changed files with 186 additions and 1 deletions

16
livres/ex_cpp/main.cpp Normal file
View File

@ -0,0 +1,16 @@
#include "points.h"
#include <iostream>
int main(int argc, char *argv[])
{
Points p(5,5);
std::cout << p.abscisse() << ' ' << p.ordonnee() << std::endl;
std::cout << p.rho() << ' ' << p.theta() << std::endl;
p.deplace(3.1, 2);
std::cout << p.abscisse() << ' ' << p.ordonnee() << std::endl;
return 0;
}