Skip to main content
Visitor II
May 17, 2010
Question

How to declare a string array for STM8S103F3 using COSMIC ?

  • May 17, 2010
  • 1 reply
  • 654 views
Posted on May 17, 2010 at 18:25

How to declare a string array for STM8S103F3 using COSMIC ?

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:08

    Hi,

    in your declaration, the first ''const'' keyword tells the compiler that the pointed object (your strings) is a constant, while the second ''const'' keyword tells that the pointer itself is a constants (ie, its value will never change).

    Depending on what you are actually trying to do, the second ''const'' might be useless/wrong.

    Regards,

    Luca (Cosmic)