Click here to Skip to main content
15,886,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem with my c++ project :'( Pin
Neal beavis23-Mar-09 1:08
Neal beavis23-Mar-09 1:08 
QuestionRe: Problem with my c++ project :'( Pin
CPallini23-Mar-09 1:13
mveCPallini23-Mar-09 1:13 
AnswerRe: Problem with my c++ project :'( Pin
Neal beavis23-Mar-09 1:18
Neal beavis23-Mar-09 1:18 
QuestionRe: Problem with my c++ project :'( Pin
CPallini23-Mar-09 1:28
mveCPallini23-Mar-09 1:28 
AnswerRe: Problem with my c++ project :'( Pin
Neal beavis23-Mar-09 1:35
Neal beavis23-Mar-09 1:35 
GeneralRe: Problem with my c++ project :'( Pin
CPallini23-Mar-09 1:49
mveCPallini23-Mar-09 1:49 
GeneralRe: Problem with my c++ project :'( Pin
TinyDevices23-Mar-09 2:05
professionalTinyDevices23-Mar-09 2:05 
QuestionRe: Problem with my c++ project :'( Pin
David Crow23-Mar-09 3:23
David Crow23-Mar-09 3:23 
Neal beavis wrote:
For example, if there were 7 staff members the vectors could look as follows:-

staff number 211 302 511 123 145 303 476

basic pay 7.50 7.50 9.00 7.50 8.00 9.00 12.00

OT pay 10.00 10.00 13.00 10.00 12.00 13.00 18.00

day of birth 12 15 25 27 9 6 1

month of birth 8 9 12 10 12 1 1

year of birth 1990 1990 1983 1987 1985 1980 1976


Why not something like:

211  7.50 10.00 12  8 1990
302  7.50 10.00 15  9 1990
511  9.00 13.00 25 12 1983
123  7.50 10.00 27 10 1987
145  8.00 12.00  9 12 1985
303  9.00 13.00  6  1 1985
476 12.00 18.00  1  1 1976
This way each "row" could represent one staff member. Your way would work too, but it's not quite as intuitive.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


QuestionGet String size Height and Width Pin
~Khatri Mitesh~23-Mar-09 1:04
~Khatri Mitesh~23-Mar-09 1:04 
AnswerRe: Get String size Height and Width Pin
Cedric Moonen23-Mar-09 1:06
Cedric Moonen23-Mar-09 1:06 
AnswerRe: Get String size Height and Width Pin
led mike23-Mar-09 4:41
led mike23-Mar-09 4:41 
AnswerRe: Get String size Height and Width Pin
Joe Woodbury23-Mar-09 12:24
professionalJoe Woodbury23-Mar-09 12:24 
QuestionVIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso23-Mar-09 0:24
pabloesso23-Mar-09 0:24 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
Jonathan Davies23-Mar-09 2:52
Jonathan Davies23-Mar-09 2:52 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
Jonathan Davies23-Mar-09 3:32
Jonathan Davies23-Mar-09 3:32 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso23-Mar-09 3:40
pabloesso23-Mar-09 3:40 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso24-Mar-09 1:23
pabloesso24-Mar-09 1:23 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso29-Mar-09 7:02
pabloesso29-Mar-09 7:02 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso29-Mar-09 7:16
pabloesso29-Mar-09 7:16 
QuestionDoubt in Run time polymerphisim Pin
Cool_Phillip23-Mar-09 0:04
Cool_Phillip23-Mar-09 0:04 
AnswerRe: Doubt in Run time polymerphisim Pin
«_Superman_»23-Mar-09 0:06
professional«_Superman_»23-Mar-09 0:06 
AnswerRe: Doubt in Run time polymerphisim Pin
CPallini23-Mar-09 0:11
mveCPallini23-Mar-09 0:11 
GeneralRe: Doubt in Run time polymerphisim Pin
Cool_Phillip23-Mar-09 1:08
Cool_Phillip23-Mar-09 1:08 
GeneralRe: Doubt in Run time polymerphisim Pin
CPallini23-Mar-09 1:17
mveCPallini23-Mar-09 1:17 
QuestionHyperlink for send mail with use of static control? Pin
Le@rner22-Mar-09 23:51
Le@rner22-Mar-09 23:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.