Code :: blocks - Operational Symbols inquiry 2

Hello fellow developers,

I’m curious to know the reason behind this operation system as demonstrated below in screenshot. I would like also to know if that optional or it is necessary in some cases.


Thank you in advance

I’m not 100% sure what you mean. The only library you are using in I/O, so that’s the only import statement that you need. typeinfo is related to typeid operator, which you aren’t using.

Hello back @JeremyLT,

Thank you for your feedback.

My question (and hopefully it is clear enough) is that if there was what I mentioned above in the screenshot would make a difference or not?

The reason why I am asking this question is because in the course that I am learning from I saw there that operation and I was thinking why it is there if it is not needed. I know this program anything in there is for a reason.

Thank you once again

Just because the programmer put it there doesn’t mean it’s helpful! In this case, you don’t need to import typeinfo but perhaps it will come in at some future lesson. Your code works great as it is.

1 Like