Hi there,
I'm having a problem with sending data to my structured variables. I'm pretty sure the structure is set up correctly, and the piece I'm working on is to get a string input from the user up to 20 characters, and then send that string to the char input[21] in the structure of the respective variable.
The problem I run into is when I'm trying to compile the code, it tells me, there is no such member "input".

Here is the code I am testing to get this working correctly, any input would be greatly appreciated! Thanks!

The program I am working on is to replicate that of a JK Flip-Flop with J,K, and CLK as user inputs.

Code:
struct hilo
{
	char hi = "/***\\";
	char lo = {'_', '_', '_', '_', '_'};
	char input[21];
};
int main(void)
{
	struct hilo j, k, clk, q, qnot;
	int i;
	printf("This program is intended to take user inputs for J,K and CLK and show the graphs for each input and output.\n\n");
	printf("Input a binary string up to 20 characters for the J input: ");
	gets(j.input);
	printf("Input a binary string up to 20 characters for the K input: ");
	gets(k.input);
	printf("Input a binary string up to 20 characters for the CLK input: ");
	gets(clk.input);
	printf("J input: %s\n", j.input);
	printf("K input: %s\n", k.input);
	printf("CLK input: %s\n", clk.input);
	return 0;
}