Forum: C++ Feb 12th, 2007 |
| Replies: 5 Views: 1,905 Basically, I need to step through any array using pointers instead of the array indices. I changed my char* ptr to const char* ptr and it does work. Thanks. |
Forum: C++ Feb 12th, 2007 |
| Replies: 5 Views: 1,905 I'm not that used to C++ and hoping that someone can help me out with the const keyword. If I make a parameter to a function 'const' ,and then try to reference it, like:
int some_func(const char*... |