Click here to Skip to main content
15,881,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: best font for hindi Pin
Purish Dwivedi29-Apr-09 22:00
Purish Dwivedi29-Apr-09 22:00 
AnswerRe: best font for hindi Pin
Michael Schubert29-Apr-09 22:05
Michael Schubert29-Apr-09 22:05 
AnswerRe: best font for hindi Pin
Rajesh R Subramanian29-Apr-09 22:15
professionalRajesh R Subramanian29-Apr-09 22:15 
QuestionVisualC++ LineTo() call causes high usage of resouce, causing more RAM usage - Memory Not Releasing Pin
adepumadhu129-Apr-09 20:15
adepumadhu129-Apr-09 20:15 
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 
The program is to keep records and perform statistical for a class of students.
the class may have up to 40 students. They have 5 quizzes, and all the students are identified by a 4 digit student number
and the program will print the students scores and calculate and print the statistics for each quiz

Student Quiz 1 Quiz 2 Quiz 3 Quiz 4 Quiz 5
1234 78 83 87 91 86
2134 67 77 84 82 79
3124 77 89 93 87 71
High Score 78 89 93 91 86
Low Score 67 77 84 82 71
Average 73.4 83.0 88.2 86.6 78.6



but this is what i have so far

#include<stdio.h>
#define ROW 4
#define COLS 5
int main(void)
{
// Local Declarations
int table [ROW] [COLS] =
{
{1234,52,7,100,78,34}'
{2134,90,36,90,77,30},
{3124,100,45,20,90,70},
{4532,11,17,81,32,77}
};
int line [ROW * COLS];
// Statments
for (int row = 0; row <ROWS;row++)
for (int column =0; column < cols, column++)
line[row * cols + column] = table [row] [column];
for (int row = 0; row <ROWS * cols; row++)
printf("%02d", line [row]);
return 0;
} // main



please help

modified on Thursday, April 30, 2009 1:56 AM

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 
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 

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.