problem assigning char* to char* 
Author Message
 problem assigning char* to char*

Quote:
> What you should really do is change all occurences of:
> char *strIndicators = "  ";
> to
> char strIndicators[3];

or to:

const char *strIndicators;

-Sean



Wed, 27 Oct 2004 04:36:55 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problem passing char * to a function where it is assigned its value

2. Converting char array of literals chars to escape chars

3. char *c,char c[ ] and char *c[ ]

4. char, unsigned char, signed char

5. A char pointer (char *) vs. char array question

6. Problem with char * as opposed to char[]

7. char / unsigned char problem

8. char / unsigned char problem

9. assigning to a char array

10. Assigning char* to int* and vice-versa???

11. assigning the value of a char to a string (newbie)

12. Newbie - How to assign a pointer from a char

 

 
Powered by phpBB® Forum Software