| ??? 11/20/07 11:25 Read: times |
#147243 - Use the tags Responding to: ???'s previous message |
You should know how to use the tags for source code formatting by now - there's even a button to make it easy these days!
Anyhow, doesn't the message say it all: value of type "char const *" cannot be assigned to an entity of type "char *" It doesn't like you mixing 'const' and non-const Which makes sense, if you think about it: If the 'const' was important, you would want the compiler to stop you subverting that via a non-const pointer... if the 'const' was not important, then leave it out! Why did you want a single-character const, anyhow? |
| Topic | Author | Date |
| Sequence of learning 8051, asm and C | 01/01/70 00:00 | |
| 2 Issues | 01/01/70 00:00 | |
| my wrong path | 01/01/70 00:00 | |
| OT, but | 01/01/70 00:00 | |
| OT - error message | 01/01/70 00:00 | |
| Use the tags | 01/01/70 00:00 | |
| single-character const | 01/01/70 00:00 | |
| QED? | 01/01/70 00:00 | |
| As Erik suggests | 01/01/70 00:00 | |
| Just learning - too luxury. | 01/01/70 00:00 | |
| how can that be "too luxorious" | 01/01/70 00:00 | |
| Foolish builder? | 01/01/70 00:00 | |
| pointer to a const | 01/01/70 00:00 | |
| True, but... | 01/01/70 00:00 | |
| Explaining | 01/01/70 00:00 | |
| helpfull ,thanks, but.. | 01/01/70 00:00 | |
| Declaration | 01/01/70 00:00 | |
| thanks | 01/01/70 00:00 | |
| Adjust declaration | 01/01/70 00:00 | |
thanks again | 01/01/70 00:00 | |
| const | 01/01/70 00:00 | |
| no wrong path | 01/01/70 00:00 | |
| learning C | 01/01/70 00:00 | |
| Freebies | 01/01/70 00:00 | |
| Erik is right | 01/01/70 00:00 | |
| not necessary | 01/01/70 00:00 | |
| You\'re skipping the most important step ... | 01/01/70 00:00 |



