Need help with C++ in mbed compiler

Discussion in 'Programmer's Corner' started by ep.hobbyiest, Jun 9, 2016.

  1. ep.hobbyiest

    Thread Starter Member

    Aug 26, 2014
    91
    0
    Hi,
    I m using mbed compiler first time.
    Following function making me confused.

    freetronicsLCDShield::freetronicsLCDShield (PinName rs, PinName e, PinName d0, PinName d1, PinName d2, PinName d3, PinName bl, PinName a0)
    : _rs(rs), _e(e), _d(d0, d1, d2, d3), _bl(bl), _a0(a0) {

    This function is constructor but following line makes me more confuse.
    : _rs(rs), _e(e), _d(d0, d1, d2, d3), _bl(bl), _a0(a0) {


    can you please tell me what does it mean?
     
  2. ep.hobbyiest

    Thread Starter Member

    Aug 26, 2014
    91
    0
    no one don;t know :(
     
  3. dannyf

    Well-Known Member

    Sep 13, 2015
    1,771
    358
    It is important for you to understand that no one is obligated to answer your question, and to the extent someone does, you should be grateful.

    You will benefit a lot if you do develop that understanding, hopefully soon.
     
  4. vpoko

    Member

    Jan 5, 2012
    258
    47
    Aww, one bump is generally considered polite in most places, and it's not like the OP demanded an answer.

    Sorry OP, wish I knew, but no idea.
     
  5. AlbertHall

    Well-Known Member

    Jun 4, 2014
    1,889
    375
Loading...