Im having trouble in the c++ world grasping char arrays.
Im given a char*** from a thrid party function and i want to loop through the returned strings and just message box them.
This is what i have:
It works the first time, where i = 0, but after that fails.
What am i doing wrong?
Im given a char*** from a thrid party function and i want to loop through the returned strings and just message box them.
This is what i have:
Code:
char ***lst; ll_cnt = GetWords(lst); for(int i = 0; i < ll_cnt; i++) { MessageBox(0, str, *(lst[i]), 0); }
What am i doing wrong?
Comment