yeah it was the for loop. stupid obvious error. probably should have gotten up and walked away from the computer. 4 hours straight of working on the rest of it has hindered my concentration.
thanks
Type: Posts; User: reddzer
yeah it was the for loop. stupid obvious error. probably should have gotten up and walked away from the computer. 4 hours straight of working on the rest of it has hindered my concentration.
thanks
got this assignment to write a class for sets and provide various member functions e.g add code, set union. each set has a certain number of codes. each code is a 5 charater c-string. i cant seem to...
thanks. that worked
can anyone tell me why why you have to use something like
"
char ** codes;
codes = new char*[num_codes];
for (i = 0; i < num_codes; i++)
{ codes[i] = new char[AMOUNT]; }"
for allocating...