Guest User

Untitled

a guest
Nov 24th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4.  
  5. struct Player {
  6. int userid;
  7. char first[10];
  8. char last[10];
  9. int wins;
  10. int losses;
  11. int ties;
  12. };
  13.  
  14.  
  15. int main(void){
  16.  
  17. int player_num; //variable to be the number of players playing
  18. scanf("%d", &player_num); //
  19.  
  20. player_array = malloc(sizeof(struct Player *) * player_num);
  21.  
  22.  
  23. for (i=0, i<player_num, i++){
  24.  
  25.  
  26.  
  27.  
  28. }
Add Comment
Please, Sign In to add comment