0_0_38591507_4954.cpp:17:57: error: empty character constant
for(j=0;j<=i;j++) temp1[j]=temp[j];temp1[j]='';
^~
0_0_38591507_4954.cpp: In function 'int main()':
0_0_38591507_4954.cpp:13:13: error: 'strlen' was not declared in this scope
len=strlen(temp);
^~~~~~
0_0_38591507_4954.cpp:13:13: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38591507_4954.cpp:3:1:
+#include <cstring>
#include<string>
0_0_38591507_4954.cpp:13:13:
len=strlen(temp);
^~~~~~
|