From 77bb44e214f45d2dd0c6b66da7ad7acdc5ba3154 Mon Sep 17 00:00:00 2001 From: Towa-ogawa Date: Thu, 26 Dec 2019 11:23:14 +0900 Subject: [PATCH 1/5] add: my name --- myname.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 myname.txt diff --git a/myname.txt b/myname.txt new file mode 100644 index 0000000..dd0fa95 --- /dev/null +++ b/myname.txt @@ -0,0 +1 @@ +Ogawa Towa \ No newline at end of file From f4736582cf46df6d9a8a1c0a307785361ac57701 Mon Sep 17 00:00:00 2001 From: Towa-ogawa Date: Thu, 26 Dec 2019 13:31:34 +0900 Subject: [PATCH 2/5] create:ex1.cpp --- ex1.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ex1.cpp diff --git a/ex1.cpp b/ex1.cpp new file mode 100644 index 0000000..177ad2c --- /dev/null +++ b/ex1.cpp @@ -0,0 +1,7 @@ +#include + +int main(){ + printf("Hello World"); + + return 0; +} \ No newline at end of file From 6afb742187212b6d91a6981d91b300cf36fdcc79 Mon Sep 17 00:00:00 2001 From: Towa-ogawa Date: Thu, 26 Dec 2019 14:07:45 +0900 Subject: [PATCH 3/5] add feture: print x --- ex1.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ex1.cpp b/ex1.cpp index b927886..80d2e37 100644 --- a/ex1.cpp +++ b/ex1.cpp @@ -2,6 +2,9 @@ int main(){ printf("hello world"); + + int x= 1; + printf("%d",x); return 0; } From 2429970cc02e4024a0d72fbb6bca10b80ee1bccd Mon Sep 17 00:00:00 2001 From: Towa-ogawa Date: Thu, 26 Dec 2019 14:29:44 +0900 Subject: [PATCH 4/5] add: x*x --- ex1.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ex1.cpp b/ex1.cpp index 80d2e37..10aca0d 100644 --- a/ex1.cpp +++ b/ex1.cpp @@ -6,5 +6,9 @@ int x= 1; printf("%d",x); + puts("hogehoge"); + + x*=x; + return 0; } From f0933aff7b9423da4533e4054bb817a32024b6f1 Mon Sep 17 00:00:00 2001 From: Towa-ogawa Date: Thu, 26 Dec 2019 14:34:01 +0900 Subject: [PATCH 5/5] add: x / 3 --- ex1.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ex1.cpp b/ex1.cpp index 10aca0d..5f40ed0 100644 --- a/ex1.cpp +++ b/ex1.cpp @@ -10,5 +10,7 @@ x*=x; + x /= 3; + return 0; }