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

C / C++ / MFC

 
AnswerRe: VisualC++ LineTo() call causes high usage of resouce, causing more RAM usage - Memory Not Releasing Pin
Cedric Moonen29-Apr-09 20:26
Cedric Moonen29-Apr-09 20:26 
AnswerRe: VisualC++ LineTo() call causes high usage of resouce, causing more RAM usage - Memory Not Releasing Pin
Perry Holman29-Apr-09 22:12
Perry Holman29-Apr-09 22:12 
QuestionRe: VisualC++ LineTo() call causes high usage of resouce, causing more RAM usage - Memory Not Releasing Pin
David Crow30-Apr-09 4:12
David Crow30-Apr-09 4:12 
QuestionNeed help on finishing this basic C program [modified] Pin
biggiant2200029-Apr-09 19:35
biggiant2200029-Apr-09 19:35 
AnswerRe: Need help on finishing this basic C program Pin
_AnsHUMAN_ 29-Apr-09 19:57
_AnsHUMAN_ 29-Apr-09 19:57 
GeneralRe: Need help on finishing this basic C program Pin
biggiant220001-May-09 6:29
biggiant220001-May-09 6:29 
AnswerRe: Need help on finishing this basic C program Pin
Michael Schubert29-Apr-09 22:12
Michael Schubert29-Apr-09 22:12 
QuestionRe: Need help on finishing this basic C program Pin
David Crow30-Apr-09 4:26
David Crow30-Apr-09 4:26 
biggiant22000 wrote:
#define COLS 5


There are 6 "columns" in the table array.

biggiant22000 wrote:
int line [ROW * COLS];


This variable is not necessary.

biggiant22000 wrote:
{1234,52,7,100,78,34}'
...
for (int row = 0; row < ROWS;row++)
for (int column =0; column < cols, column++)
line[row * cols + column] = table [row] [column];


How do these even compile?

With a little bit of coercion Wink | ;) , your code could produce something like:

Student    Quiz 1  Quiz 2  Quiz 3  Quiz 4  Quiz 5
-------    ------  ------  ------  ------  ------
1234           52       7     100      78      34
2134           90      36      90      77      30
3124          100      45      20      90      70
4532           11      17      81      32      77
 
High Score    100      45     100      90      77


"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


AnswerRe: Need help on finishing this basic C program Pin
biggiant220001-May-09 6:07
biggiant220001-May-09 6:07 
QuestionRe: Need help on finishing this basic C program Pin
David Crow1-May-09 6:10
David Crow1-May-09 6:10 
QuestionMultithreading help in C++ Pin
Kiran Satish29-Apr-09 16:59
Kiran Satish29-Apr-09 16:59 
AnswerRe: Multithreading help in C++ Pin
Stuart Dootson29-Apr-09 20:48
professionalStuart Dootson29-Apr-09 20:48 
GeneralRe: Multithreading help in C++ Pin
Kiran Satish30-Apr-09 5:15
Kiran Satish30-Apr-09 5:15 
GeneralRe: Multithreading help in C++ Pin
Stuart Dootson30-Apr-09 6:16
professionalStuart Dootson30-Apr-09 6:16 
GeneralRe: Multithreading help in C++ Pin
Kiran Satish30-Apr-09 6:50
Kiran Satish30-Apr-09 6:50 
GeneralRe: Multithreading help in C++ Pin
Stuart Dootson30-Apr-09 6:55
professionalStuart Dootson30-Apr-09 6:55 
AnswerRe: Multithreading help in C++ Pin
KarstenK29-Apr-09 21:17
mveKarstenK29-Apr-09 21:17 
GeneralRe: Multithreading help in C++ Pin
Kiran Satish30-Apr-09 3:27
Kiran Satish30-Apr-09 3:27 
GeneralRe: Multithreading help in C++ Pin
KarstenK30-Apr-09 3:43
mveKarstenK30-Apr-09 3:43 
GeneralRe: Multithreading help in C++ Pin
Kiran Satish30-Apr-09 5:03
Kiran Satish30-Apr-09 5:03 
AnswerRe: Multithreading help in C++ Pin
Joe Woodbury30-Apr-09 19:35
professionalJoe Woodbury30-Apr-09 19:35 
QuestionHow can I make a combobox without using MFC Pin
CodingLover29-Apr-09 16:24
CodingLover29-Apr-09 16:24 
AnswerRe: How can I make a combobox without using MFC Pin
Naveen29-Apr-09 17:56
Naveen29-Apr-09 17:56 
QuestionCTreeCtrl - Get the number of the selected item Pin
Gagnon Claude29-Apr-09 8:42
Gagnon Claude29-Apr-09 8:42 
QuestionRe: CTreeCtrl - Get the number of the selected item Pin
David Crow29-Apr-09 9:52
David Crow29-Apr-09 9:52 

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.