Find error in this code

#include

#include

using namespace std;

int main(){

char i;

vectornum;

cout<<“enter numbers”<<endl;

while(true){

cin>>i;

num.push_back(i);

if(i==’\n’)

break;

}

for(auto v:num)

cout<<v<<" ";

return 0;}

Check the following update to the code.

No error

No error there i think