From c441009261854fa43750ba830e4867a6197280e4 Mon Sep 17 00:00:00 2001 From: Anton Chernov Date: Sun, 6 Nov 2022 22:04:43 +0200 Subject: [PATCH 1/4] Fixed warnings after code analysis --- Common/inc/test.h | 2 ++ Common/src/common.c | 3 ++- Common/src/test.c | 3 ++- Encapsulation/src/main.c | 10 +++++----- Inheritance/src/main.c | 18 +++++++++--------- Polymorphism/src/main.c | 30 +++++++++++++++--------------- 6 files changed, 35 insertions(+), 31 deletions(-) diff --git a/Common/inc/test.h b/Common/inc/test.h index 41b90d2..1d61e31 100644 --- a/Common/inc/test.h +++ b/Common/inc/test.h @@ -3,6 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 30/10/2022 + * @date 06/11/2022 */ #ifndef TEST_H @@ -11,6 +12,7 @@ #include #include /******************************** Definition **********************************/ +#define DISCARD_RETURN(f) ((void)f) #define TEST_START(name)\ printf("\n\r>>> Test start for %s <<<\n\n", name) #define TEST_FINISH \ diff --git a/Common/src/common.c b/Common/src/common.c index f082a30..56ea4c9 100644 --- a/Common/src/common.c +++ b/Common/src/common.c @@ -3,12 +3,13 @@ * @version 1.0.0 * @authors Anton Chernov * @date 02/11/2022 + * @date 06/11/2022 */ /****************************** Included files ********************************/ #include "common.h" /***************************** Public functions *******************************/ abs_offset_t abs(offset_t num) { - return (abs_offset_t)(num < 0 ? num *= -1 : num); + return (abs_offset_t)(num < 0 ? -num : num); } /******************************************************************************/ diff --git a/Common/src/test.c b/Common/src/test.c index 669a215..c35589b 100644 --- a/Common/src/test.c +++ b/Common/src/test.c @@ -3,6 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 30/10/2022 + * @date 06/11/2022 */ /****************************** Included files ********************************/ @@ -12,7 +13,7 @@ bool DoRepeat(void) { char answer; printf("Would you like to repeat the test? "); fflush(stdout); - scanf(" %c", &answer); + DISCARD_RETURN(scanf(" %c", &answer)); return (((answer == 'y') || (answer == 'Y')) ? true : false); } /******************************************************************************/ diff --git a/Encapsulation/src/main.c b/Encapsulation/src/main.c index 91499f0..d2e6432 100644 --- a/Encapsulation/src/main.c +++ b/Encapsulation/src/main.c @@ -3,7 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 27/10/2022 - * @date 02/11/2022 + * @date 06/11/2022 */ /****************************** Included files ********************************/ @@ -92,17 +92,17 @@ int main(void) { TEST_START("moving to the specified offset"); printf("Enter offset for point p1:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(&p1, xof, yof); printf("\nEnter coordinates for point p2:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(&p2, xof, yof); PrintCoordinatesOfBothPoints(&p1, &p2); TEST_FINISH; diff --git a/Inheritance/src/main.c b/Inheritance/src/main.c index 50d0a6d..83c766a 100644 --- a/Inheritance/src/main.c +++ b/Inheritance/src/main.c @@ -3,7 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 29/10/2022 - * @date 01/11/2022 + * @date 06/11/2022 */ /****************************** Included files ********************************/ @@ -28,18 +28,18 @@ int main(void) { params_t l, w; printf("\nEnter the width of rectangle r1: "); fflush(stdout); - scanf("%hu", &w); + DISCARD_RETURN(scanf("%hu", &w)); printf("Enter the length of rectangle r1: "); fflush(stdout); - scanf("%hu", &l); + DISCARD_RETURN(scanf("%hu", &l)); Rectangle_ctor(&r1, w, l); printf("\nEnter the width of rectangle r2: "); fflush(stdout); - scanf("%hu", &w); + DISCARD_RETURN(scanf("%hu", &w)); printf("Enter the length of rectangle r2: "); fflush(stdout); - scanf("%hu", &l); + DISCARD_RETURN(scanf("%hu", &l)); Rectangle_ctor(&r2, w, l); } printf( @@ -112,17 +112,17 @@ int main(void) { TEST_START("moving to the specified offset"); printf("Enter offset for center point of the rectangle r1:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(SUPER_UPCAST(&r1), xof, yof); printf("\nEnter offset for center point of the rectangle r2:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(SUPER_UPCAST(&r2), xof, yof); PrintCoordinatesOfBothRectangles(&r1, &r2); TEST_FINISH; diff --git a/Polymorphism/src/main.c b/Polymorphism/src/main.c index 5f3088b..d0e78c1 100644 --- a/Polymorphism/src/main.c +++ b/Polymorphism/src/main.c @@ -3,7 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 01/11/2022 - * @date 02/11/2022 + * @date 06/11/2022 */ /****************************** Included files ********************************/ @@ -38,29 +38,29 @@ int main(void) { params_t l, w; printf("\nEnter the width of rectangle r1: "); fflush(stdout); - scanf("%hu", &w); + DISCARD_RETURN(scanf("%hu", &w)); printf("Enter the length of rectangle r1: "); fflush(stdout); - scanf("%hu", &l); + DISCARD_RETURN(scanf("%hu", &l)); Rectangle_ctor(&r1, w, l); printf("\nEnter the width of rectangle r2: "); fflush(stdout); - scanf("%hu", &w); + DISCARD_RETURN(scanf("%hu", &w)); printf("Enter the length of rectangle r2: "); fflush(stdout); - scanf("%hu", &l); + DISCARD_RETURN(scanf("%hu", &l)); Rectangle_ctor(&r2, w, l); } { radius_t r; printf("\nEnter the radius of circle c1: "); fflush(stdout); - scanf("%hu", &r); + DISCARD_RETURN(scanf("%hu", &r)); Circle_ctor(&c1, r); printf("\nEnter the radius of circle c2: "); fflush(stdout); - scanf("%hu", &r); + DISCARD_RETURN(scanf("%hu", &r)); Circle_ctor(&c2, r); } printf( @@ -190,34 +190,34 @@ int main(void) { TEST_START("moving to the specified offset"); printf("Enter offset for center point of the rectangle r1:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(SUPER_UPCAST(&r1), xof, yof); printf("\nEnter offset for center point of the rectangle r2:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(SUPER_UPCAST(&r2), xof, yof); printf("\nEnter offset for center point of the circle c1:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(SUPER_UPCAST(&c1), xof, yof); printf("\nEnter offset for center point of the circle c2:\nx: "); fflush(stdout); - scanf(" %hd", &xof); + DISCARD_RETURN(scanf(" %hd", &xof)); printf("y: "); fflush(stdout); - scanf(" %hd", &yof); + DISCARD_RETURN(scanf(" %hd", &yof)); MoveFromCurrentPoint(SUPER_UPCAST(&c2), xof, yof); PrintCoordinatesOfBothRectangles(&r1, &r2); From b6a0a0e478a27f53e6bb04da90e5cecbd9b54964 Mon Sep 17 00:00:00 2001 From: Anton Chernov Date: Sun, 6 Nov 2022 22:29:30 +0200 Subject: [PATCH 2/4] Fixed a bug with dividing an odd number in half Added the missing header file to the Encapsulation project tree --- Common/inc/common.h | 3 +++ Encapsulation/Encapsulation.vcxproj | 1 + Encapsulation/Encapsulation.vcxproj.filters | 3 +++ Inheritance/src/rectangle.c | 22 ++++++++++----------- Polymorphism/src/circle.c | 14 ++++++------- 5 files changed, 25 insertions(+), 18 deletions(-) diff --git a/Common/inc/common.h b/Common/inc/common.h index de1b052..bc55492 100644 --- a/Common/inc/common.h +++ b/Common/inc/common.h @@ -3,6 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 02/11/2022 + * @date 06/11/2022 */ #ifndef COMMON_H @@ -10,6 +11,8 @@ /****************************** Included files ********************************/ #include /******************************** Definition **********************************/ +#define HALF_PARAMETER(param) ((param) & 0x1 ? (param) / 2 + 1 : (param) / 2) + typedef uint16_t coordinate_t; typedef signed short offset_t; typedef unsigned short abs_offset_t; diff --git a/Encapsulation/Encapsulation.vcxproj b/Encapsulation/Encapsulation.vcxproj index 2692a78..9875775 100644 --- a/Encapsulation/Encapsulation.vcxproj +++ b/Encapsulation/Encapsulation.vcxproj @@ -155,6 +155,7 @@ + diff --git a/Encapsulation/Encapsulation.vcxproj.filters b/Encapsulation/Encapsulation.vcxproj.filters index 932cb12..008bd39 100644 --- a/Encapsulation/Encapsulation.vcxproj.filters +++ b/Encapsulation/Encapsulation.vcxproj.filters @@ -28,5 +28,8 @@ Include + + Include + \ No newline at end of file diff --git a/Inheritance/src/rectangle.c b/Inheritance/src/rectangle.c index 24906e4..1e64df8 100644 --- a/Inheritance/src/rectangle.c +++ b/Inheritance/src/rectangle.c @@ -3,7 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 29/10/2022 - * @date 02/11/2022 + * @date 06/11/2022 */ /****************************** Included files ********************************/ @@ -31,7 +31,7 @@ static void make_move( coordinate_t const limit ) { if (*offset) { - coordinate_t lower_limit = *param / 2; + coordinate_t lower_limit = HALF_PARAMETER(*param); coordinate_t higher_limit = limit - lower_limit; abs_offset_t abs_offset = abs(*offset); @@ -53,7 +53,7 @@ static coordinate_t make_rebase( coordinate_t const limit ) { coordinate_t result; - coordinate_t lower_limit = *param / 2; + coordinate_t lower_limit = HALF_PARAMETER(*param); coordinate_t higher_limit = limit - lower_limit; if (*new_coordinate < lower_limit) { result = lower_limit; } @@ -136,26 +136,26 @@ static void RectangleMoveFromCurrentPoint_( /*----------------------------------------------------------------------------*/ static void RectangleMoveToTheLowerLeftCorner_(Coordinate * const self) { Rectangle * const _self = (Rectangle *)self; /* explicit downcast */ - _self->super.x = _self->length / 2; - _self->super.y = _self->width / 2; + _self->super.x = HALF_PARAMETER(_self->length); + _self->super.y = HALF_PARAMETER(_self->width); } /*----------------------------------------------------------------------------*/ static void RectangleMoveToTheUpperLeftCorner_(Coordinate * const self) { Rectangle * const _self = (Rectangle *)self; /* explicit downcast */ - _self->super.x = _self->length / 2; - _self->super.y = Y_LIMIT - _self->width / 2; + _self->super.x = HALF_PARAMETER(_self->length); + _self->super.y = Y_LIMIT - HALF_PARAMETER(_self->width); } /*----------------------------------------------------------------------------*/ static void RectangleMoveToTheLowerRightCorner_(Coordinate * const self) { Rectangle * const _self = (Rectangle *)self; /* explicit downcast */ - _self->super.x = X_LIMIT - _self->length / 2; - _self->super.y = _self->width / 2; + _self->super.x = X_LIMIT - HALF_PARAMETER(_self->length); + _self->super.y = HALF_PARAMETER(_self->width); } /*----------------------------------------------------------------------------*/ static void RectangleMoveToTheUpperRightCorner_(Coordinate * const self) { Rectangle * const _self = (Rectangle *)self; /* explicit downcast */ - _self->super.x = X_LIMIT - _self->length / 2; - _self->super.y = Y_LIMIT - _self->width / 2; + _self->super.x = X_LIMIT - HALF_PARAMETER(_self->length); + _self->super.y = Y_LIMIT - HALF_PARAMETER(_self->width); } /*----------------------------------------------------------------------------*/ static void RectangleMoveToTheCenter_(Coordinate * const self) { diff --git a/Polymorphism/src/circle.c b/Polymorphism/src/circle.c index a2c225e..1ce228c 100644 --- a/Polymorphism/src/circle.c +++ b/Polymorphism/src/circle.c @@ -3,7 +3,7 @@ * @version 1.0.0 * @authors Anton Chernov * @date 01/11/2022 - * @date 02/11/2022 + * @date 06/11/2022 */ /****************************** Included files ********************************/ @@ -29,7 +29,7 @@ static void make_move( coordinate_t const limit ) { if (*offset) { - coordinate_t lower_limit = *param / 2; + coordinate_t lower_limit = HALF_PARAMETER(*param); coordinate_t higher_limit = limit - lower_limit; abs_offset_t abs_offset = abs(*offset); @@ -51,7 +51,7 @@ static coordinate_t make_rebase( coordinate_t const limit ) { coordinate_t result; - coordinate_t lower_limit = *param / 2; + coordinate_t lower_limit = HALF_PARAMETER(*param); coordinate_t higher_limit = limit - lower_limit; if (*new_coordinate < lower_limit) { result = lower_limit; } @@ -120,26 +120,26 @@ static void CircleMoveFromCurrentPoint_( /*----------------------------------------------------------------------------*/ static void CircleMoveToTheLowerLeftCorner_(Coordinate * const self) { Circle * const _self = (Circle *)self; /* explicit downcast */ - radius_t temp = _self->radius / 2; + radius_t temp = HALF_PARAMETER(_self->radius); _self->super.x = temp; _self->super.y = temp; } /*----------------------------------------------------------------------------*/ static void CircleMoveToTheUpperLeftCorner_(Coordinate * const self) { Circle * const _self = (Circle *)self; /* explicit downcast */ - _self->super.x = _self->radius / 2; + _self->super.x = HALF_PARAMETER(_self->radius); _self->super.y = Y_LIMIT - _self->super.x; } /*----------------------------------------------------------------------------*/ static void CircleMoveToTheLowerRightCorner_(Coordinate * const self) { Circle * const _self = (Circle *)self; /* explicit downcast */ - _self->super.y = _self->radius / 2; + _self->super.y = HALF_PARAMETER(_self->radius); _self->super.x = X_LIMIT - _self->super.y; } /*----------------------------------------------------------------------------*/ static void CircleMoveToTheUpperRightCorner_(Coordinate * const self) { Circle * const _self = (Circle *)self; /* explicit downcast */ - radius_t temp = _self->radius / 2; + radius_t temp = HALF_PARAMETER(_self->radius); _self->super.x = X_LIMIT - temp; _self->super.y = Y_LIMIT - temp; } From 550723379054d68c06ca1f9c5ebb6e1d33e532c5 Mon Sep 17 00:00:00 2001 From: Anton Chernov Date: Sun, 6 Nov 2022 23:34:38 +0200 Subject: [PATCH 3/4] Added spaces to scanf format strings to skip leading spaces --- Encapsulation/src/main.c | 8 ++++---- Inheritance/src/main.c | 16 ++++++++-------- Polymorphism/src/main.c | 28 ++++++++++++++-------------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Encapsulation/src/main.c b/Encapsulation/src/main.c index d2e6432..9afe57c 100644 --- a/Encapsulation/src/main.c +++ b/Encapsulation/src/main.c @@ -71,17 +71,17 @@ int main(void) { TEST_START("moving to specified coordinates"); printf("Enter coordinates for point p1:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(&p1, x, y); printf("\nEnter coordinates for point p2:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(&p2, x, y); PrintCoordinatesOfBothPoints(&p1, &p2); TEST_FINISH; diff --git a/Inheritance/src/main.c b/Inheritance/src/main.c index 83c766a..fe8a632 100644 --- a/Inheritance/src/main.c +++ b/Inheritance/src/main.c @@ -28,18 +28,18 @@ int main(void) { params_t l, w; printf("\nEnter the width of rectangle r1: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &w)); + DISCARD_RETURN(scanf(" %hu", &w)); printf("Enter the length of rectangle r1: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &l)); + DISCARD_RETURN(scanf(" %hu", &l)); Rectangle_ctor(&r1, w, l); printf("\nEnter the width of rectangle r2: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &w)); + DISCARD_RETURN(scanf(" %hu", &w)); printf("Enter the length of rectangle r2: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &l)); + DISCARD_RETURN(scanf(" %hu", &l)); Rectangle_ctor(&r2, w, l); } printf( @@ -91,17 +91,17 @@ int main(void) { TEST_START("moving to specified coordinates"); printf("Enter coordinates for center point of the rectangle r1:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(SUPER_UPCAST(&r1), x, y); printf("\nEnter coordinates for center point of the rectangle r2:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(SUPER_UPCAST(&r2), x, y); PrintCoordinatesOfBothRectangles(&r1, &r2); TEST_FINISH; diff --git a/Polymorphism/src/main.c b/Polymorphism/src/main.c index d0e78c1..be41082 100644 --- a/Polymorphism/src/main.c +++ b/Polymorphism/src/main.c @@ -38,29 +38,29 @@ int main(void) { params_t l, w; printf("\nEnter the width of rectangle r1: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &w)); + DISCARD_RETURN(scanf(" %hu", &w)); printf("Enter the length of rectangle r1: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &l)); + DISCARD_RETURN(scanf(" %hu", &l)); Rectangle_ctor(&r1, w, l); printf("\nEnter the width of rectangle r2: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &w)); + DISCARD_RETURN(scanf(" %hu", &w)); printf("Enter the length of rectangle r2: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &l)); + DISCARD_RETURN(scanf(" %hu", &l)); Rectangle_ctor(&r2, w, l); } { radius_t r; printf("\nEnter the radius of circle c1: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &r)); + DISCARD_RETURN(scanf(" %hu", &r)); Circle_ctor(&c1, r); printf("\nEnter the radius of circle c2: "); fflush(stdout); - DISCARD_RETURN(scanf("%hu", &r)); + DISCARD_RETURN(scanf(" %hu", &r)); Circle_ctor(&c2, r); } printf( @@ -150,34 +150,34 @@ int main(void) { TEST_START("moving to specified coordinates"); printf("Enter coordinates for center point of the rectangle r1:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(SUPER_UPCAST(&r1), x, y); printf("\nEnter coordinates for center point of the rectangle r2:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(SUPER_UPCAST(&r2), x, y); printf("\nEnter coordinates for center point of the circle c1:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(SUPER_UPCAST(&c1), x, y); printf("\nEnter coordinates for center point of the circle c2:\nx: "); fflush(stdout); - scanf_s("%hu", &x); + DISCARD_RETURN(scanf(" %hu", &x)); printf("y: "); fflush(stdout); - scanf_s("%hu", &y); + DISCARD_RETURN(scanf(" %hu", &y)); MoveToCoordinate(SUPER_UPCAST(&c2), x, y); PrintCoordinatesOfBothRectangles(&r1, &r2); From 25bd41cb86d5e5610295d32b90703f12ed5a4852 Mon Sep 17 00:00:00 2001 From: Anton Chernov Date: Sun, 6 Nov 2022 23:50:16 +0200 Subject: [PATCH 4/4] Changed code version in Doxygen headers --- Common/inc/common.h | 2 +- Common/inc/coordinate.h | 2 +- Common/inc/test.h | 2 +- Common/src/common.c | 2 +- Common/src/coordinate.c | 2 +- Common/src/test.c | 2 +- Encapsulation/src/main.c | 2 +- Inheritance/inc/rectangle.h | 2 +- Inheritance/src/main.c | 2 +- Inheritance/src/rectangle.c | 2 +- Polymorphism/inc/circle.h | 2 +- Polymorphism/src/circle.c | 2 +- Polymorphism/src/main.c | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Common/inc/common.h b/Common/inc/common.h index bc55492..75514ba 100644 --- a/Common/inc/common.h +++ b/Common/inc/common.h @@ -1,6 +1,6 @@ /** * @file common.h - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 02/11/2022 * @date 06/11/2022 diff --git a/Common/inc/coordinate.h b/Common/inc/coordinate.h index 2469935..a907262 100644 --- a/Common/inc/coordinate.h +++ b/Common/inc/coordinate.h @@ -1,6 +1,6 @@ /** * @file coordinate.h - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 27/10/2022 * @date 02/11/2022 diff --git a/Common/inc/test.h b/Common/inc/test.h index 1d61e31..73f88e4 100644 --- a/Common/inc/test.h +++ b/Common/inc/test.h @@ -1,6 +1,6 @@ /** * @file test.h - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 30/10/2022 * @date 06/11/2022 diff --git a/Common/src/common.c b/Common/src/common.c index 56ea4c9..bfc0fa6 100644 --- a/Common/src/common.c +++ b/Common/src/common.c @@ -1,6 +1,6 @@ /** * @file common.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 02/11/2022 * @date 06/11/2022 diff --git a/Common/src/coordinate.c b/Common/src/coordinate.c index bd4b417..69ec932 100644 --- a/Common/src/coordinate.c +++ b/Common/src/coordinate.c @@ -1,6 +1,6 @@ /** * @file coordinate.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 27/10/2022 * @date 02/11/2022 diff --git a/Common/src/test.c b/Common/src/test.c index c35589b..ab2bbd1 100644 --- a/Common/src/test.c +++ b/Common/src/test.c @@ -1,6 +1,6 @@ /** * @file test.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 30/10/2022 * @date 06/11/2022 diff --git a/Encapsulation/src/main.c b/Encapsulation/src/main.c index 9afe57c..ef5e7a3 100644 --- a/Encapsulation/src/main.c +++ b/Encapsulation/src/main.c @@ -1,6 +1,6 @@ /** * @file main.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 27/10/2022 * @date 06/11/2022 diff --git a/Inheritance/inc/rectangle.h b/Inheritance/inc/rectangle.h index acc1431..c0fbcfd 100644 --- a/Inheritance/inc/rectangle.h +++ b/Inheritance/inc/rectangle.h @@ -1,6 +1,6 @@ /** * @file rectangle.h - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 29/10/2022 * @date 02/11/2022 diff --git a/Inheritance/src/main.c b/Inheritance/src/main.c index fe8a632..48eaeb3 100644 --- a/Inheritance/src/main.c +++ b/Inheritance/src/main.c @@ -1,6 +1,6 @@ /** * @file main.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 29/10/2022 * @date 06/11/2022 diff --git a/Inheritance/src/rectangle.c b/Inheritance/src/rectangle.c index 1e64df8..52caad9 100644 --- a/Inheritance/src/rectangle.c +++ b/Inheritance/src/rectangle.c @@ -1,6 +1,6 @@ /** * @file rectangle.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 29/10/2022 * @date 06/11/2022 diff --git a/Polymorphism/inc/circle.h b/Polymorphism/inc/circle.h index d46998a..f712053 100644 --- a/Polymorphism/inc/circle.h +++ b/Polymorphism/inc/circle.h @@ -1,6 +1,6 @@ /** * @file circle.h - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 01/11/2022 * @date 02/11/2022 diff --git a/Polymorphism/src/circle.c b/Polymorphism/src/circle.c index 1ce228c..89eb27f 100644 --- a/Polymorphism/src/circle.c +++ b/Polymorphism/src/circle.c @@ -1,6 +1,6 @@ /** * @file circle.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 01/11/2022 * @date 06/11/2022 diff --git a/Polymorphism/src/main.c b/Polymorphism/src/main.c index be41082..b734bb3 100644 --- a/Polymorphism/src/main.c +++ b/Polymorphism/src/main.c @@ -1,6 +1,6 @@ /** * @file main.c - * @version 1.0.0 + * @version 1.1.0 * @authors Anton Chernov * @date 01/11/2022 * @date 06/11/2022