0_0_22141338_24407.cpp: In function 'int getIndex(char*, int, char)':
0_0_22141338_24407.cpp:339:5: error: redefinition of 'int getIndex(char*, int, char)'
int getIndex(char* str, int start, char ch)
^
0_0_22141338_24407.cpp:11:5: note: 'int getIndex(char*, int, char)' previously defined here
int getIndex(char* str, int start, char ch)
^
0_0_22141338_24407.cpp: In function 'int getLastIndex(char*, int, char)':
0_0_22141338_24407.cpp:352:5: error: redefinition of 'int getLastIndex(char*, int, char)'
int getLastIndex(char* str, int start, char ch)
^
0_0_22141338_24407.cpp:24:5: note: 'int getLastIndex(char*, int, char)' previously defined here
int getLastIndex(char* str, int start, char ch)
^
0_0_22141338_24407.cpp: In function 'void getSubString(char*, int, int, char*)':
0_0_22141338_24407.cpp:365:6: error: redefinition of 'void getSubString(char*, int, int, char*)'
void getSubString(char* str, int start, int end, char* dest)
^
0_0_22141338_24407.cpp:37:6: note: 'void getSubString(char*, int, int, char*)' previously defined here
void getSubString(char* str, int start, int end, char* dest)
^
0_0_22141338_24407.cpp: In function 'int StringToInt(char*)':
0_0_22141338_24407.cpp:375:5: error: redefinition of 'int StringToInt(char*)'
int StringToInt(char* str)
^
0_0_22141338_24407.cpp:47:5: note: 'int StringToInt(char*)' previously defined here
int StringToInt(char* str)
^
0_0_22141338_24407.cpp: In function 'int getIndex(char*, int, char*)':
0_0_22141338_24407.cpp:385:5: error: redefinition of 'int getIndex(char*, int, char*)'
int getIndex(char* str, int start, char* pattern)
^
0_0_22141338_24407.cpp:57:5: note: 'int getIndex(char*, int, char*)' previously defined here
int getIndex(char* str, int start, char* pattern)
^
0_0_22141338_24407.cpp: In function 'void RemoveSubString(char*, int, int)':
0_0_22141338_24407.cpp:407:6: error: redefinition of 'void RemoveSubString(char*, int, int)'
void RemoveSubString(char* str, int start, int len)
^
0_0_22141338_24407.cpp:79:6: note: 'void RemoveSubString(char*, int, int)' previously defined here
void RemoveSubString(char* str, int start, int len)
^
0_0_22141338_24407.cpp: In function 'void InsertSubString(char*, int, char*, int)':
0_0_22141338_24407.cpp:416:6: error: redefinition of 'void InsertSubString(char*, int, char*, int)'
void InsertSubString(char* str, int start, char* string,int stringLen)
^
0_0_22141338_24407.cpp:88:6: note: 'void InsertSubString(char*, int, char*, int)' previously defined here
void InsertSubString(char* str, int start, char* string,int stringLen)
^
0_0_22141338_24407.cpp: At global scope:
0_0_22141338_24407.cpp:431:7: error: redefinition of 'class Cmd'
class Cmd
^
0_0_22141338_24407.cpp:103:7: error: previous definition of 'class Cmd'
class Cmd
^
0_0_22141338_24407.cpp:489:7: error: redefinition of 'class Line'
class Line
^
0_0_22141338_24407.cpp:161:7: error: previous definition of 'class Line'
class Line
^
0_0_22141338_24407.cpp:567:7: error: redefinition of 'class VimClass'
class VimClass
^
0_0_22141338_24407.cpp:239:7: error: previous definition of 'class VimClass'
class VimClass
^
0_0_22141338_24407.cpp:636:45: error: redefinition of 'char TextArray [100][100]'
char TextArray[MAX_LINE_COUNT][MAX_LINE_SIZE];
^
0_0_22141338_24407.cpp:308:6: note: 'char TextArray [100][100]' previously declared here
char TextArray[MAX_LINE_COUNT][MAX_LINE_SIZE];
^
0_0_22141338_24407.cpp:637:5: error: redefinition of 'int TextLine'
int TextLine = 0;
^
0_0_22141338_24407.cpp:309:5: note: 'int TextLine' previously defined here
int TextLine = 0;
^
0_0_22141338_24407.cpp:638:44: error: redefinition of 'char CmdArray [100][100]'
char CmdArray[MAX_LINE_COUNT][MAX_LINE_SIZE];
^
0_0_22141338_24407.cpp:310:6: note: 'char CmdArray [100][100]' previously declared here
char CmdArray[MAX_LINE_COUNT][MAX_LINE_SIZE];
^
0_0_22141338_24407.cpp:639:5: error: redefinition of 'int CmdLine'
int CmdLine = 0;
^
0_0_22141338_24407.cpp:311:5: note: 'int CmdLine' previously defined here
int CmdLine = 0;
^
0_0_22141338_24407.cpp: In function 'int main(int, char**)':
0_0_22141338_24407.cpp:640:5: error: redefinition of 'int main(int, char**)'
int main(int argc, char* argv[])
^
0_0_22141338_24407.cpp:312:5: note: 'int main(int, char**)' previously defined here
int main(int argc, char* argv[])
^
|