Baseball

 

Player Informtaion

-Name

-Number

-Position

Player Statistics

-AB -> Everytime it’s the player’s turn to try to hit the ball (integral)

-Hit -> Number of times a player hits the ball and reaches base safely (integral)

-RBI -> Number of runs based on a player hitting the ball (integral)

-HR -> Number of times a player make it home based on one hit (integral)

-Ave -. if AB ==0 .00 Hits/atBats. .317

 

enum Position {catcher, pitcher, ..........}

Class Player

{

private:

char* m_pszName;

int m_mNumber;

char m_szNumber[3];

1) char* m-PszNumber; //don’t have to use this, ross doesn’t neccessarily like this

2) char * m_pszPosition

3) position n_ Pos //to use with enum

 

 

Back | HOME | Next




Canpol Solutions Przeszukaj Katalog -- przeszukaj katalog / zamowienia, komentarze --  Poczta Polonijnej Witryny

Internet ExplorerUzywaj zawsze najnowszej przegladarki
M.I.E. lub, ewentualnie Netscape ktorej, niestety na razie nie polecamy..
Netscape


Canpol Solutions © Polonijna Witryna