I think I have it now. I am going to try more complex pointer stuff now that I understand them better. Thank you to every one who responded and especially Elysia because she made me understand it.
Type: Posts; User: skringla
I think I have it now. I am going to try more complex pointer stuff now that I understand them better. Thank you to every one who responded and especially Elysia because she made me understand it.
doesn't that defeat the purpose of a pointer to a pointer, the whole idea is that buffarray is a array of pointers pointing to whole strings and not just individual characters. Like when you use...
Then what am I still doing wrong?
#include <stdio.h>
#include <string.h>
int main(int argc, char** argv)
{
char** buffarray;
char* bb;
char b[20] = "hello world";
Isn't the land of uninitialized pointer in new jersey?
I get an odd output when I run a program I wrote. This program is just a basic pointer excersize that I thought up.
#include <stdio.h>
#include <string.h>
int main(int argc, char** argv)
{...
Thats all right. I am still trying to grasp the hole pointer concept. I don't completely understand it and every time I think I do the techniques I think would work with pointers don't compile. I...
Is this a pointer to a pointer? The instants is one most should be familiar with.
#include <stdio>
#include <string>
int main(int argc, char** argv)
{
int i;
for(i = 0; i <...
Why don't you have the string.h library included. It would seem like that standard lib would be best. Your while statement is actually going to set that variable. Or am I too much of a noob to...