Skip to content

Commit 67110d5

Browse files
committed
cleaned up includes
1 parent 4adeccc commit 67110d5

File tree

7 files changed

+26
-17
lines changed

7 files changed

+26
-17
lines changed

ex00/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# By: cgodecke <cgodecke@student.42wolfsburg. +#+ +:+ +#+ #
77
# +#+#+#+#+#+ +#+ #
88
# Created: 2022/12/18 15:39:27 by cgodecke #+# #+# #
9-
# Updated: 2023/11/14 16:33:13 by cgodecke ### ########.fr #
9+
# Updated: 2023/11/27 17:21:57 by cgodecke ### ########.fr #
1010
# #
1111
# **************************************************************************** #
1212

1313
C++ = c++
14-
C++_FLAGS = -Wall -Wextra -Werror -std=c++98 -pedantic
14+
C++_FLAGS = -Wall -Wextra -Werror -std=c++11
1515
INFILES = main.cpp\
1616
ScalarConverter.cpp\
1717

ex00/ScalarConverter.cpp

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
#include <iostream>
2-
#include <string>
3-
#include <cctype>
4-
#include <cstdlib>
5-
#include <limits>
6-
#include <cmath>
7-
#include <iomanip>
1+
/* ************************************************************************** */
2+
/* */
3+
/* ::: :::::::: */
4+
/* ScalarConverter.cpp :+: :+: :+: */
5+
/* +:+ +:+ +:+ */
6+
/* By: cgodecke <cgodecke@student.42wolfsburg. +#+ +:+ +#+ */
7+
/* +#+#+#+#+#+ +#+ */
8+
/* Created: 2023/11/27 17:21:24 by cgodecke #+# #+# */
9+
/* Updated: 2023/11/27 17:21:26 by cgodecke ### ########.fr */
10+
/* */
11+
/* ************************************************************************** */
812

913
#include "ScalarConverter.hpp"
1014

ex00/ScalarConverter.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* By: cgodecke <cgodecke@student.42wolfsburg. +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2023/11/14 16:08:54 by cgodecke #+# #+# */
9-
/* Updated: 2023/11/27 16:33:53 by cgodecke ### ########.fr */
9+
/* Updated: 2023/11/27 17:21:37 by cgodecke ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

@@ -16,6 +16,12 @@
1616
#include <string>
1717
#include <iostream>
1818
#include <cctype>
19+
#include <cctype>
20+
#include <cstdlib>
21+
#include <limits>
22+
#include <cmath>
23+
#include <iomanip>
24+
1925

2026
class ScalarConverter
2127
{

ex00/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* By: cgodecke <cgodecke@student.42wolfsburg. +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2023/11/14 16:07:31 by cgodecke #+# #+# */
9-
/* Updated: 2023/11/27 14:09:36 by cgodecke ### ########.fr */
9+
/* Updated: 2023/11/27 17:26:34 by cgodecke ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

@@ -17,7 +17,7 @@ int main(int argc, char **argv)
1717
{
1818
if (argc != 2)
1919
{
20-
std::cout << "Please enter a char/ int/ float/ double value";
20+
std::cout << "Please enter a char/ int/ float/ double value\n";
2121
return (0);
2222
}
2323

ex01/Data.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* By: cgodecke <cgodecke@student.42wolfsburg. +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2023/11/21 16:10:11 by cgodecke #+# #+# */
9-
/* Updated: 2023/11/21 16:14:22 by cgodecke ### ########.fr */
9+
/* Updated: 2023/11/27 17:27:04 by cgodecke ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

ex01/Serializer.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
/* By: cgodecke <cgodecke@student.42wolfsburg. +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2023/11/21 16:00:33 by cgodecke #+# #+# */
9-
/* Updated: 2023/11/21 16:16:47 by cgodecke ### ########.fr */
9+
/* Updated: 2023/11/27 17:28:28 by cgodecke ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

1313
#ifndef SERIALIZER_HPP
1414
# define SERIALIZER_HPP
1515
# include <stdint.h>
1616
# include "Data.hpp"
17+
# include <iostream>
1718

1819
class Serializer
1920
{

ex01/main.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
/* By: cgodecke <cgodecke@student.42wolfsburg. +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2023/11/21 15:59:09 by cgodecke #+# #+# */
9-
/* Updated: 2023/11/21 16:30:37 by cgodecke ### ########.fr */
9+
/* Updated: 2023/11/27 17:24:38 by cgodecke ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

1313
#include "Serializer.hpp"
14-
#include <iostream>
15-
1614

1715
int main(void)
1816
{

0 commit comments

Comments
 (0)