How to declare a string array for STM8S103F3 using COSMIC ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-05-17 9:25 AM
Posted on May 17, 2010 at 18:25
How to declare a string array for STM8S103F3 using COSMIC ?
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 6:08 AM
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)
