sob.cpp:18:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main() {
^
sob.cpp: In function 'int main()':
sob.cpp:19:16: error: 'tab_clicked' was not declared in this scope
IOSjavascript:tab_clicked(1)
^~~~~~~~~~~
sob.cpp:21:9: error: 'n' was not declared in this scope
cin >> n >> m;
^
sob.cpp:21:9: note: suggested alternative: 'yn'
cin >> n >> m;
^
yn
sob.cpp:21:14: error: 'm' was not declared in this scope
cin >> n >> m;
^
sob.cpp:21:14: note: suggested alternative: 'tm'
cin >> n >> m;
^
tm
sob.cpp:19:2: warning: label 'IOSjavascript' defined but not used [-Wunused-label]
IOSjavascript:tab_clicked(1)
^~~~~~~~~~~~~