Website Summary Files Commits Branches @commit @diff @stats
path: root / Utills / Kindle / string.h
diff options
context:
space:
mode:
Commit40f7cc8f54d0c221a391457fd38a44d0633aa088 (patch)
Author
 angeld55 <angel_dimitriev@abv.bg>
2022-05-16 14:05:08 +0300
Committer
 angeld55 <angel_dimitriev@abv.bg>
2022-05-16 14:05:08 +0300
Files29fecbef2da1e832f3f8e9e23db6fffe35d7ddc6 /Utills/Kindle/string.h
Object-oriented_programming_FMI-40f7cc8f54d0c221a391457fd38a44d0633aa088.tar
Object-oriented_programming_FMI-40f7cc8f54d0c221a391457fd38a44d0633aa088.tar.gz
Object-oriented_programming_FMI-40f7cc8f54d0c221a391457fd38a44d0633aa088.zip
Parentde7b4d3f7ac3ecd42ca336b0d477712a462d27ee (diff)
fixed typo in folder name
1 files changed, 0 insertions, 42 deletions
-rw-r--r--Utills/Kindle/string.h42
diff --git a/Utills/Kindle/string.h b/Utills/Kindle/string.h
deleted file mode 100644
index d5a06be..0000000
--- a/Utills/Kindle/string.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#pragma once
-
-#include <fstream>
-#include <iostream>
-class string
-{
- char* str;
- size_t size;
-
- void copyFrom(const string& other);
- void free();
-
-public:
- string();
- string(const char*);
-
- string(const string&);
-
- string(string&&); //move constructor that accepts rvalue;
-
- string& operator=(const string& other);
- string& operator=(string&& other); //move op= that accepts rvalue;
-
- ~string();
-
- size_t getSize() const;
- void concat(const string& other);
-
- const char* c_str() const;
-
- string& operator+=(const string& other);
-
- friend std::ostream& operator<<(std::ostream& stream, const string& str);
- friend std::istream& operator>>(std::istream& stream, string& str);
- void getLine(std::istream& out);
-};
-
-string operator+(const string& lhs, const string& rhs);
-
-bool operator==(const string& lhs, const string& rhs);
-bool operator<=(const string& lhs, const string& rhs);
-bool operator<(const string& lhs, const string& rhs); \ No newline at end of file