Compiler output
prog.cpp:11:32: error: empty character constant
cout(input().replace('-', '').replace(',', ' ,').replace('.', ''))
^
prog.cpp:11:49: warning: multi-character character constant [-Wmultichar]
cout(input().replace('-', '').replace(',', ' ,').replace('.', ''))
^
prog.cpp:11:68: error: empty character constant
cout(input().replace('-', '').replace(',', ' ,').replace('.', ''))
^
prog.cpp:21:56: warning: multi-character character constant [-Wmultichar]
std::cout<<(input().replace('-'; ' ').replace(','; ' ,').replace('.'; ''))
^
prog.cpp:21:75: error: empty character constant
std::cout<<(input().replace('-'; ' ').replace(','; ' ,').replace('.'; ''))
^
prog.cpp: In function 'int main()':
prog.cpp:8:2: error: 'cin' was not declared in this scope
cin>>v;
^
prog.cpp:8:2: note: suggested alternative:
In file included from prog.cpp:2:0:
/usr/include/c++/4.9/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
prog.cpp:11:17: error: 'input' was not declared in this scope
cout(input().replace('-', '').replace(',', ' ,').replace('.', ''))
^
prog.cpp:11:71: error: 'cout' was not declared in this scope
cout(input().replace('-', '').replace(',', ' ,').replace('.', ''))
^
prog.cpp:11:71: note: suggested alternative:
In file included from prog.cpp:2:0:
/usr/include/c++/4.9/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^