drzsmith
Newbie level 3
I have strings data that I load in to array at compile time.
I would rather load the values at run time(below)
is this possible?
thans drz
Code C - [expand] 1 2 3 char array1[] = ("xxxxx1"); char array2[] = ("xxxxx2"); char array3[] = ("xxxxx3");
I would rather load the values at run time(below)
is this possible?
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 #define str1 xxxx1 #define str2 xxxx2 #define str3 xxxx3 main(){ char array[10]; //wrong. array = str1; }
thans drz
Last edited by a moderator: