text.cpp: In function ‘int main()’:text.cpp:30: error: conflicting declaration ‘category cate’text.cpp:26: error: ‘cate’ has a previous declaration as ‘int cate’text.cpp:43: error: cannot convert ‘category’ to ‘int’ in assignmenttext.cpp:62: error: conversion from ‘int’ to non-scalar type ‘category’ requestedtext.cpp:17: error: too few arguments to function ‘void Add(int, category)’text.cpp:65: error: at this point in filetext.cpp:67: error: conversion from ‘int’ to non-scalar type ‘category’ requestedtext.cpp: In function ‘void Edit(category)’:text.cpp:84: error: ‘cat’ was not declared in this scopetext.cpp:96: error: ‘cat’ was not declared in this scopetext.cpp: In function ‘void Add(int, category)’:text.cpp:111: error: ‘cate’ was not declared in this scopetext.cpp:116: error: ‘cast’ was not declared in this scopetext.cpp:116: error: expected primary-expression before ‘]’ tokentext.cpp: In function ‘category get()’:text.cpp:130: error: expected initializer before ‘readfile’text.cpp:131: error: ‘readfile’ was not declared in this scopetext.cpp:134: error: ‘cat’ was not declared in this scopetext.cpp:134: error: no matching function for call to ‘std::basic_string, std::allocator >::c_str(size_t, size_t)’/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:1612: note: candidates are: const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]
text.cpp:137: error: ‘readfile’ was not declared in this scope
text.cpp:138: error: ‘cat’ was not declared in this scope
text.cpp: In function ‘void Remove(category)’:
text.cpp:158: error: ‘struct category’ has no member named ‘namr’
text.cpp:164: error: ‘reafile’ was not declared in this scope
text.cpp:164: error: ‘struct category’ has no member named ‘nume’
text.cpp:166: error: statement cannot resolve address of overloaded function
การแปล กรุณารอสักครู่..
