From ab9cb406db38daaefd169f66460e9db5bd07717c Mon Sep 17 00:00:00 2001 From: Adhish Anand Date: Mon, 8 Oct 2018 15:38:46 +0530 Subject: [PATCH 1/2] Added GoodString Code --- README.md | 10 ++++++++++ code/GoodString.cpp | 31 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 code/GoodString.cpp diff --git a/README.md b/README.md index 06ba005..c8f1d68 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,16 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU - [![twitter-alt][twitter-img]](https://twitter.com/adeonir) [![github-alt][github-img]](https://github.com/adeonir) +### Adhish Anand +- Student, Chitkara University +- Self-taught Developer, Aspiring Entreprenuer +- I am currently work on: + - Android Development + - Python + - Machine Learning +- [![github-alt][github-img]](https://github.com/adhishanand9) + + ### Aditya Choudhary - Software Engineer in India - [![twitter-alt][twitter-img]](https://twitter.com/webmasteradi) diff --git a/code/GoodString.cpp b/code/GoodString.cpp new file mode 100644 index 0000000..20ea2ea --- /dev/null +++ b/code/GoodString.cpp @@ -0,0 +1,31 @@ +#include +#include +#include +#include +using namespace std; +class GoodString +{ + int t; +public: + GoodString(int x) + { + t=x; + } + + void newstring(string str) + { + for(int i=0;i>n; + GoodString ob(n); + string str; + getchar(); + getline(cin,str); + ob.newstring(str); + return 0; +} From 5fcd8ddb83c8fde59c50b2f3b3ea17e807613415 Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Mon, 8 Oct 2018 17:11:47 +0100 Subject: [PATCH 2/2] Rename GoodString.cpp to adhishanand9.cpp --- code/{GoodString.cpp => adhishanand9.cpp} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename code/{GoodString.cpp => adhishanand9.cpp} (100%) diff --git a/code/GoodString.cpp b/code/adhishanand9.cpp similarity index 100% rename from code/GoodString.cpp rename to code/adhishanand9.cpp