Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


char **Array[256] can't read? filter_list
Author
Message
char **Array[256] can't read? #1
So, I'm having a HUGE brainfart.

I have "char **ITEMS[256];"

I then add to the array with:
char *input = NULL;
wscanw(menu, input);
ITEMS[ELEMENTS] = &input;

But when reading the array with:
mvwaddstr(menu, POSITION+1, 0, (char*)ITEMS[POSITION+1]);

it doesn't read it? It displays nothing at all. Am I doing this wrong?
I'm just doing challenges however this is just confusing me.

That's good, but still, I'm really confused on this.

The source is here for anyone wanting to help :I
https://github.com/ProfessorChill/Cpp_Ch...n/main.cpp

Reply







Users browsing this thread: 1 Guest(s)