Click here to Skip to main content
15,913,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMultiple Windows Threads Pin
Bram van Kampen6-Nov-08 14:46
Bram van Kampen6-Nov-08 14:46 
AnswerRe: Multiple Windows Threads Pin
Mark Salsbery6-Nov-08 15:13
Mark Salsbery6-Nov-08 15:13 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen6-Nov-08 16:54
Bram van Kampen6-Nov-08 16:54 
GeneralRe: Multiple Windows Threads Pin
Mark Salsbery7-Nov-08 3:43
Mark Salsbery7-Nov-08 3:43 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen8-Nov-08 13:20
Bram van Kampen8-Nov-08 13:20 
GeneralRe: Multiple Windows Threads Pin
Mark Salsbery8-Nov-08 14:46
Mark Salsbery8-Nov-08 14:46 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen16-Nov-08 13:21
Bram van Kampen16-Nov-08 13:21 
Question2D Arrays Pin
livin lie6-Nov-08 11:47
livin lie6-Nov-08 11:47 
I'm completely lost, I have been given an assignment and hit a roadblock this is the assignment:

a.) Create a function called howMany that will search a two dimensional array for the the number of occurences a particular number is found within the array. Your function should return the number of occurences the number appears within the array and the cooridnates that each one is found.
Your function at the very least should take as arguments the number to search for, and the two dimensional array. You are going to need some mechanisim to return the coordinates. You could use a string, an array, or a 2D array here but I will leave that up to you. This means your function needs at least 3 arguments!

b.) Create another function that will take as arguments integer values that represent row, column coordinates. return the value at that location

c.) Write a function that will fill the array with random numbers from 1 - 10. Initially, your array should be 10 rows by 9 columns

Finally write some kind of driver to demostrate the functionality of your program. It would be nice if you used some kind of a loop and a simple menu scheme.

I also have no clue how to write a driver, my book has virtually no information on it and all the sites I have gone to in order to figure it out have offered a program that will act as one. If someone could post a program, I would appreciate the reference otherwise an explanation would be nice. Thank you.
AnswerRe: 2D Arrays Pin
Saurabh.Garg6-Nov-08 15:16
Saurabh.Garg6-Nov-08 15:16 
QuestionRe: 2D Arrays Pin
David Crow6-Nov-08 16:45
David Crow6-Nov-08 16:45 
AnswerRe: 2D Arrays Pin
livin lie7-Nov-08 6:21
livin lie7-Nov-08 6:21 
QuestionTutorial Object Array Pin
Reagan Conservative6-Nov-08 9:02
Reagan Conservative6-Nov-08 9:02 
AnswerRe: Tutorial Object Array Pin
sashoalm6-Nov-08 10:18
sashoalm6-Nov-08 10:18 
GeneralRe: Tutorial Object Array Pin
Reagan Conservative6-Nov-08 11:22
Reagan Conservative6-Nov-08 11:22 
QuestionI need help with my program, new c++ programmer Pin
OverdoS6-Nov-08 7:56
OverdoS6-Nov-08 7:56 
QuestionRe: I need help with my program, new c++ programmer Pin
David Crow6-Nov-08 8:17
David Crow6-Nov-08 8:17 
AnswerRe: I need help with my program, new c++ programmer Pin
CPallini6-Nov-08 10:30
mveCPallini6-Nov-08 10:30 
AnswerRe: I need help with my program, new c++ programmer Pin
led mike6-Nov-08 8:52
led mike6-Nov-08 8:52 
QuestionShellExecute/Browser problem Pin
Leslie Sanford6-Nov-08 6:19
Leslie Sanford6-Nov-08 6:19 
AnswerRe: ShellExecute/Browser problem Pin
Renjith Ramachandran6-Nov-08 7:51
Renjith Ramachandran6-Nov-08 7:51 
AnswerRe: ShellExecute/Browser problem Pin
Bram van Kampen6-Nov-08 15:16
Bram van Kampen6-Nov-08 15:16 
QuestionAdvice needed for a tool for c++ code analysis Pin
Renjith Ramachandran6-Nov-08 5:23
Renjith Ramachandran6-Nov-08 5:23 
AnswerRe: Advice needed for a tool for c++ code analysis Pin
David Crow6-Nov-08 7:22
David Crow6-Nov-08 7:22 
QuestionRe: Advice needed for a tool for c++ code analysis Pin
sashoalm6-Nov-08 8:04
sashoalm6-Nov-08 8:04 
AnswerRe: Advice needed for a tool for c++ code analysis Pin
David Crow6-Nov-08 8:09
David Crow6-Nov-08 8:09 

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.