Created
February 4, 2016 15:54
-
-
Save anderspitman/47af9751dacb4eb0dde3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
team_stats stats; | |
sscanf((char *)line.c_str(), | |
"%[^\t]%d%f%d%d%f%f%f%d%d%d%d%d%d%d%d%s%d%d%d", | |
stats.team_name, | |
&stats.games, | |
&stats.pts_per_game, | |
&stats.total_points, | |
&stats.scrimmage_plays, | |
&stats.yds_per_game, | |
&stats.yds_per_play, | |
&stats.first_per_game, | |
&stats.third_md, | |
&stats.third_att, | |
&stats.third_pct, | |
&stats.fourth_md, | |
&stats.fourth_att, | |
&stats.fourth_pct, | |
&stats.penalties, | |
&stats.pen_yds, | |
stats.top_per_game, | |
&stats.fum, | |
&stats.lost, | |
&stats.to); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment