I see what you're doing, and my array is functioning correctly as highlighted in a previous post, my pointer to this array however is not doing what I'd like it to do. Do you think your for loop...
Type: Posts; User: c9e51
I see what you're doing, and my array is functioning correctly as highlighted in a previous post, my pointer to this array however is not doing what I'd like it to do. Do you think your for loop...
I'm basically attempting to initialize a pointer to point to my array of "strings". I initially hadn't typedef'd string, but I figured why not.
This works fine for me
#include<stdio.h>
...
Thanks std10093, but I think you're misinterpreting what I'm trying to do with this code. I'm completely aware a string in c is simply a pointer to a character, and an array of strings would be a...
[F]irst post, be gentle;
Playing around with pointers and strings just to get a grasp on them before I write an assignment. Haven't played with C for over a year now, trying to understand where...