Skip to content

Conversation

@lciav
Copy link

@lciav lciav commented Nov 27, 2018

char name = [10] changed to char name[10]
struct (dog) thing1: changed to struct dog thing1;
thing1.age = [5]; changed to thing1.age = 5;
puts{"what is your dogs name? "}; changed to puts(what is your dogs name?");
gets(thing1.names); changed to gets(thing1.name);
printf("Name: %i\n",thing1.name ); changed to printf("Name: %s\n",thing1.name );
printf("Age: %i\n",thing1.age): changed to ;
printf("Thing2 Name: %s\n, thing2.name); missing "
printf("Thing2 Age: %i\n', thing2.age); changed ' to "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant