I am trying to create an array of strings in C. If I use this code:
char (*a[2])[14]; a[0]=\"blah\"; a[1]=\"hmm\";
gcc gives me \"warning:
A good way is to define a string your self.
#include typedef char string[] int main() { string test = "string"; return 0; }
It's really that simple.