<div dir="ltr"><div>i feel that i are the only that ask for real problems or my questions are outside of this world<br><br></div>maybe i try inherits the common operations inside each class and determine class type when use the main class<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.com</a></font></div></div></div>
<br><div class="gmail_quote">2018-07-31 17:15 GMT-04:00 PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>hello, today I have another case, I want to implement inheritance to the common code with the serial port printing.<br><br>What I want to do is to have the procedures to open, close and write to the serial port in one class, and two others that inherit these functions, then one of the inheritors writes "A" to the port while the other writes "B" to the port but the writing functions should be called the same... <br><br></div>i attached project with minimal comments hope someone will help with this!<br><br></div>the firts problem its that i received "'canot write "stream are closed" why?<br><br></div>the second problem its that i cannot got any stream event when i do not have stream errors<br><div><div><div><br clear="all"><div><div class="m_2978823473671424557gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.<wbr>com</a></font></div></div></div>
</div></div></div></div>
</blockquote></div><br></div>