I have searched and searched, and found nothing to solve my problem. I am using Turbo C 2.1 to make a program, but for some reason my structures get wierd errors. Here is an example of what I am doing.
That compiles fine, but when I start to mess around with the stuff in the structureCode:struct charinfo { char name[20]; };
Or thisCode:charinfo.name = "Hello";
I keep getting errors. Am I doing this wrong? Or is it my compiler?Code:gets(charinfo.name);