Post
by Grind » Wed Oct 28, 2015 9:45 pm
You don't need to put "struct" in front of the type if you used a typedef:
Expert Experts[6]; // Would be fine
Everything else looks valid. Are you running into a problem with this? I think SGDK has a strcpy so that should work. Be careful though as C standard libraries use null terminated strings. You are actually writing a 26 byte array into Job[25]. Likely with your code an attempt to draw/print Experts[0].Job would print "Expert Independent ValuerPottery" due to the null char '\0' being overridden by the P, but I didn't test it myself.