I have the following code:
I get the following error:Code:void new_reservation () { cout<<"Pick an available seat"<<endl; cin>>number_seat; number_seat=&seat; }
C:\avion.cpp(42) : error C2440: '=' : cannot convert from 'int *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
Error executing cl.exe.
is there any way I can make this work?
thx in advanced.