Forum: C++ Jan 5th, 2009 |
| Replies: 11 Views: 863 I have a C++ bible laying around somewhere. Probably around 2000/3000 pages which explain everything you'd ever need to know with great ease and simple examples. I still use it as a reference. If you... |
Forum: C++ Jan 2nd, 2009 |
| Replies: 6 Views: 393 Initialize your character pointer.
char *ptr = new char[len + 1];
Note that +1 is used to accommodate for the terminating null.
Make sure you deallocate your pointer too.
And finally read... |
Forum: C++ Jan 2nd, 2009 |
| Replies: 1 Views: 385 See the 'Header Files' group in your Solution Explorer? That's where the header files go. So, drag and drop your RXMatrix.hpp header file into that group. Also, use some sort of standards. Use either... |
Forum: C++ Jan 2nd, 2009 |
| Replies: 2 Views: 565 use char arrays instead of char pointers. |