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/ ... /.. /.. /.. รวม/c + + /mts 4.4.7/bits/basic_string.h:1612: หมายเหตุ: ผู้สมัครได้: ค่า const _CharT * std::basic_string < _CharT, _Traits, _Alloc >:: c_str() ค่า const [กับ _CharT =อักขระ _Traits = std::char_traits, _Alloc = std::allocator]text.cpp:137: ข้อผิดพลาด: ไม่ถูกประกาศ 'readfile' ในขอบเขตนี้text.cpp:138: ข้อผิดพลาด: ไม่ถูกประกาศ 'แมว' ในขอบเขตนี้text.cpp: ในฟังก์ชัน 'โมฆะ Remove(category)':text.cpp:158: ข้อผิดพลาด: ไม่มีสมาชิกที่ชื่อ 'namr' มี 'ประเภท struct'text.cpp:164: ข้อผิดพลาด: 'reafile' ไม่ถูกประกาศในขอบเขตนี้text.cpp:164: ข้อผิดพลาด: ไม่มีสมาชิกที่ชื่อ 'nume' มี 'ประเภท struct'text.cpp:166: ข้อผิดพลาด: คำสั่งไม่สามารถแก้ไขที่อยู่ของฟังก์ชันโอเวอร์โหลด
การแปล กรุณารอสักครู่..
