Apr 19, 2013 at 10:53am UTC
I am a novice in C++ and I have read the complet tutorial in your site (in addition to other tutorials on the basics of Qt).
I am trying to understand some project and I often find some statements that I cannot understand. Could you please help me in understanding these statements or at least tell me what I have to read in order to understand them.
For example, I have encountered this statement:
Thank you in advance for your possible help.
Apr 19, 2013 at 11:19am UTC
the first two could be namespaces and inside that the class TplApp. Tplapp is a template class. This class contains a function slotStart.
But this is not the only meaning. It is also possible that app is a class and inside that another class tplapp (strong association ?).
Apr 19, 2013 at 11:26am UTC
Thank you for your reply.
and for <MainC, MainW>, does it mean that the class TplApp will have member data of types MainC and MainW (which are also classes)?
Apr 23, 2013 at 10:57am UTC
Thanks for all your replies.
What's about this syntax:
FI::FI() : LI()
here, the first FI is the class and the second is the constructor but what's is the LI()? and what does it mean when we have : after ::
Apr 23, 2013 at 11:06am UTC
This means you are initializing the base class.
I suggest you read a beginners book in C++. That will help you.
Last edited on
Apr 23, 2013 at 11:07am UTC
Apr 23, 2013 at 11:11am UTC
I have read the tutorials on this site and some other tutorials but I didn't see this syntax.
Thank your for your response.
Apr 23, 2013 at 11:38am UTC
Thank you JLBorges.
I will read that.