Thanks for the indentation.
the scanf("%d",&tempgf2);
teams[team2].gf= teams[team2].gf+tempgf2;
teams[team2].p = teams[team2].p + 1;
the table displayed is as follows if no...
Type: Posts; User: Colonial Viper
Thanks for the indentation.
the scanf("%d",&tempgf2);
teams[team2].gf= teams[team2].gf+tempgf2;
teams[team2].p = teams[team2].p + 1;
the table displayed is as follows if no...
the code has been updated with indentations
ok this is the code the problem is tempgf1 and tempgf2 are not passed to the code at the bottom so calculations can be worked out.
the same code was used before but at that time instead of %s...
i will try to enter the full code with gaps filled in later tomorrow,i will be handing in the project in the morning slightly modified but i am still curious as to why the original version did not...
Hi i doing a table which updates scores and stuff .Everything worked fine when i was using numbers to postion the teams but now that i am using strings and stuck a for and if loop. it does not...
thanks that works better i suppose i will have to put it in a case loop so that each time the function ia accesed it goes up by one otherwise the counter goes up too fast..
that clears everything,no numbers at all.
not sure how to get a counter to go up each time a function is selected.So far the loutput is 123456789 etc and what i am trying to do is 1 then it clears and goes to 2 etc.
This is what i have...