CPP06
1.0
読み取り中…
検索中…
一致する文字列を見つけられません
Data.hpp
[詳解]
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* Data.hpp :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2025/07/22 14:37:24 by kamitsui #+# #+# */
9
/* Updated: 2025/07/22 14:38:53 by kamitsui ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
18
#ifndef DATA_HPP
19
#define DATA_HPP
20
21
#include <
string
>
22
29
struct
Data
{
30
int
id
;
31
char
type
;
32
std::string
content
;
33
};
34
35
#endif
std::string
string
Data
A simple data structure for serialization testing.
Definition
Data.hpp:29
Data::content
std::string content
Definition
Data.hpp:32
Data::id
int id
Definition
Data.hpp:30
Data::type
char type
Definition
Data.hpp:31
ex01
Data.hpp
構築:
1.9.8