Question: Please use provided code and follow instructions. thank you! 15 points A lot of low-level API's have c-style interfaces because that allows both C and
Please use provided code and follow instructions. thank you!
15 points A lot of low-level API's have c-style interfaces because that allows both C and C++ code to use them. The following code illustrates what such n interface might look like. Add a function as described in the comments that allows the user to set the isActive state of the device. This function should have reference semantics via a DeviceInterface pointer. Starter Code: I/ TODO: implement 'device_interface_activate' such that it sets the isactive value to 'true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
