Renamed 'math-helpers.hpp' to 'sign.hpp' and updated main.cpp to reflect the change

master
Aadhavan Srinivasan 8 months ago
parent 3a7793bde8
commit acf8271126

@ -0,0 +1,8 @@
#ifndef _MATH_HELP
#define _MATH_HELP
int signum(int num) {
int retval = 0;
(num > 0) ? retval = 1 : retval = -1;
return retval;
}
#endif

@ -5,7 +5,7 @@
#include "includes/paddle.hpp"
#include "includes/ball.hpp"
#include "includes/easysock.hpp"
#include "includes/math-helpers.hpp"
#include "includes/sign.hpp"
#include "includes/connect-helpers.hpp"
#include "includes/client.hpp"
#include "includes/server.hpp"

Loading…
Cancel
Save