0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
1 | include<iostream>
| ^~~~~~~~
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:1: error: 'include' does not name a type
1 | include<iostream>
| ^~~~~~~
0_0_39399374_20551.cpp: In function 'void insert(SequentialList*, int, int)':
0_0_39399374_20551.cpp:40:28: error: 'invalid_argument' is not a member of 'std'
40 | throw std::invalid_argument("Invail index");
| ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:1:1: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
+++ |+#include <stdexcept>
1 | include<iostream>
0_0_39399374_20551.cpp: In function 'void deleteElement(SequentialList*, int)':
0_0_39399374_20551.cpp:62:28: error: 'invalid_argument' is not a member of 'std'
62 | throw std::invalid_argument("Invail index");
| ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:62:28: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
0_0_39399374_20551.cpp: In function 'int getElement(SequentialList*, int)':
0_0_39399374_20551.cpp:84:28: error: 'invalid_argument' is not a member of 'std'
84 | throw std::invalid_argument("Invail index");
| ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:84:28: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
0_0_39399374_20551.cpp: In function 'void updateElement(SequentialList*, int, int)':
0_0_39399374_20551.cpp:92:28: error: 'invalid_argument' is not a member of 'std'
92 | throw std::invalid_argument("Invail index");
| ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:92:28: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
0_0_39399374_20551.cpp: In function 'int main()':
0_0_39399374_20551.cpp:99:15: error: 'cin' was not declared in this scope
99 | while(cin>>n){
| ^~~
0_0_39399374_20551.cpp:114:17: error: 'cout' was not declared in this scope
114 | cout<<prod<<endl;
| ^~~~
0_0_39399374_20551.cpp:114:29: error: 'endl' was not declared in this scope
114 | cout<<prod<<endl;
| ^~~~
|