cancel
Showing results for 
Search instead for 
Did you mean: 

How to declare a string array for STM8S103F3 using COSMIC ?

jeffrey23
Associate II
Posted on May 17, 2010 at 18:25

How to declare a string array for STM8S103F3 using COSMIC ?

1 REPLY 1
luca239955_stm1_st
Senior II
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)