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

C / C++ / MFC

 
QuestionRe: Putting out plain text Pin
David Crow1-May-09 8:19
David Crow1-May-09 8:19 
AnswerRe: Putting out plain text Pin
BobInNJ1-May-09 10:00
BobInNJ1-May-09 10:00 
GeneralRe: Putting out plain text Pin
David Crow1-May-09 10:03
David Crow1-May-09 10:03 
QuestionRe: Putting out plain text Pin
Maximilien1-May-09 8:24
Maximilien1-May-09 8:24 
AnswerRe: Putting out plain text Pin
Chris Losinger1-May-09 9:07
professionalChris Losinger1-May-09 9:07 
GeneralRe: Putting out plain text Pin
BobInNJ2-May-09 4:41
BobInNJ2-May-09 4:41 
Questionshow the picture in the same window of MFC insted of showing in new window Pin
trinhminhson1-May-09 8:00
trinhminhson1-May-09 8:00 
Questionurgent please help basic c Pin
biggiant220001-May-09 6:09
biggiant220001-May-09 6:09 
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

When i execute im getting 42 errors
AnswerRe: urgent please help basic c Pin
biggiant220001-May-09 6:19
biggiant220001-May-09 6:19 
AnswerRe: urgent please help basic c Pin
Chris Losinger1-May-09 6:32
professionalChris Losinger1-May-09 6:32 
AnswerRe: urgent please help basic c Pin
David Crow1-May-09 8:20
David Crow1-May-09 8:20 
QuestionChecking if a hotkey is avilable && making a window Always on Top in an application. Pin
Code-o-mat1-May-09 4:02
Code-o-mat1-May-09 4:02 
AnswerRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
led mike1-May-09 4:19
led mike1-May-09 4:19 
GeneralRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
Code-o-mat1-May-09 4:51
Code-o-mat1-May-09 4:51 
GeneralRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
led mike1-May-09 5:00
led mike1-May-09 5:00 
GeneralRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
Code-o-mat1-May-09 5:19
Code-o-mat1-May-09 5:19 
AnswerRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
Rolf Kristensen1-May-09 11:34
Rolf Kristensen1-May-09 11:34 
GeneralRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
Code-o-mat1-May-09 22:43
Code-o-mat1-May-09 22:43 
GeneralRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
Rolf Kristensen2-May-09 0:14
Rolf Kristensen2-May-09 0:14 
GeneralRe: Checking if a hotkey is avilable && making a window Always on Top in an application. Pin
Code-o-mat2-May-09 5:09
Code-o-mat2-May-09 5:09 
Questionerror LNK2019 occurred in vs2008 from compiling source of "3D Graph ActiveX Control" Pin
A&Ms1-May-09 2:09
A&Ms1-May-09 2:09 
QuestionRe: error LNK2019 occurred in vs2008 from compiling source of "3D Graph ActiveX Control" Pin
David Crow1-May-09 3:11
David Crow1-May-09 3:11 
QuestionRe: error LNK2019 occurred in vs2008 from compiling source of "3D Graph ActiveX Control" Pin
A&Ms1-May-09 4:18
A&Ms1-May-09 4:18 
QuestionRe: error LNK2019 occurred in vs2008 from compiling source of "3D Graph ActiveX Control" Pin
David Crow1-May-09 4:23
David Crow1-May-09 4:23 
QuestionRe: error LNK2019 occurred in vs2008 from compiling source of "3D Graph ActiveX Control" Pin
A&Ms1-May-09 5:01
A&Ms1-May-09 5:01 

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.