1_867_4499_17398.cpp: In function 'int main()':
1_867_4499_17398.cpp:144:75: error: expected ']' before ')' token
printf("Case %d: Today %d:%c%c AM\n", ca, curt, s[len - 2], s[len - 1);
^
1_867_4499_17398.cpp: At global scope:
1_867_4499_17398.cpp:230:17: error: redefinition of 'std::map<std::basic_string<char>, int> mp'
map<string, int>mp;
^
1_867_4499_17398.cpp:3:17: note: 'std::map<std::basic_string<char>, int> mp' previously declared here
map<string, int>mp;
^
1_867_4499_17398.cpp: In function 'int getHour(std::string)':
1_867_4499_17398.cpp:231:5: error: redefinition of 'int getHour(std::string)'
int getHour(string s)
^
1_867_4499_17398.cpp:4:5: note: 'int getHour(std::string)' previously defined here
int getHour(string s)
^
1_867_4499_17398.cpp: In function 'void debug::man(std::string, std::string, std::string, int)':
1_867_4499_17398.cpp:244:7: error: redefinition of 'void debug::man(std::string, std::string, std::string, int)'
void man(string s, string a, string b,int t)
^
1_867_4499_17398.cpp:17:7: note: 'void debug::man(std::string, std::string, std::string, int)' previously defined here
void man(string s, string a, string b,int t)
^
1_867_4499_17398.cpp: In function 'int main()':
1_867_4499_17398.cpp:343:5: error: redefinition of 'int main()'
int main()
^
1_867_4499_17398.cpp:116:5: note: 'int main()' previously defined here
int main()
^
1_867_4499_17398.cpp:371:75: error: expected ']' before ')' token
printf("Case %d: Today %d:%c%c AM\n", ca, curt, s[len - 2], s[len - 1);
^
1_867_4499_17398.cpp: At global scope:
1_867_4499_17398.cpp:457:17: error: redefinition of 'std::map<std::basic_string<char>, int> mp'
map<string, int>mp;
^
1_867_4499_17398.cpp:3:17: note: 'std::map<std::basic_string<char>, int> mp' previously declared here
map<string, int>mp;
^
1_867_4499_17398.cpp: In function 'int getHour(std::string)':
1_867_4499_17398.cpp:458:5: error: redefinition of 'int getHour(std::string)'
int getHour(string s)
^
1_867_4499_17398.cpp:4:5: note: 'int getHour(std::string)' previously defined here
int getHour(string s)
^
1_867_4499_17398.cpp: In function 'void debug::man(std::string, std::string, std::string, int)':
1_867_4499_17398.cpp:471:7: error: redefinition of 'void debug::man(std::string, std::string, std::string, int)'
void man(string s, string a, string b,int t)
^
1_867_4499_17398.cpp:17:7: note: 'void debug::man(std::string, std::string, std::string, int)' previously defined here
void man(string s, string a, string b,int t)
^
1_867_4499_17398.cpp: In function 'int main()':
1_867_4499_17398.cpp:570:5: error: redefinition of 'int main()'
int main()
^
1_867_4499_17398.cpp:116:5: note: 'int main()' previously defined here
int main()
^
1_867_4499_17398.cpp:598:75: error: expected ']' before ')' token
printf("Case %d: Today %d:%c%c AM\n", ca, curt, s[len - 2], s[len - 1);
^
|