Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
Dictionary (IP)Error(s): source_file.cpp:10:17: error: expected ‘;’ at end of member declaration std::string value ^ source_file.cpp:47:5: error: ‘Entries’ does not name a type Entries* enArr[]; ^ source_file.cpp: In constructor ‘Dictionary<T>::Dictionary()’: source_file.cpp:27:20: error: ‘enArr’ was not declared in this scope Dictionary() { enArr[5] = new Entries(); } ^ source_file.cpp:27:35: error: expected type-specifier before ‘Entries’ Dictionary() { enArr[5] = new Entries(); } ^ source_file.cpp:27:35: error: expected ‘;’ before ‘Entries’ source_file.cpp: In member function ‘void Dictionary<T>::add(int&, std::__cxx11::string&)’: source_file.cpp:33:26: error: ‘enArr’ was not declared in this scope int len = sizeof(enArr) / sizeof(std::string); ^ source_file.cpp:34:36: error: expected primary-expression before ‘)’ token for (int i = 0; i < len; i+) ^ |
λ
.NET NoSQL database for rapid development
|