Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncode like this. Pin
sting_lee3-Apr-06 16:27
sting_lee3-Apr-06 16:27 
AnswerRe: code like this. Pin
Rick York3-Apr-06 17:44
mveRick York3-Apr-06 17:44 
GeneralRe: code like this. Pin
toxcct3-Apr-06 21:56
toxcct3-Apr-06 21:56 
QuestionHelp me,I happen to a error about the compliler in VC6.0 Pin
onlysaint3-Apr-06 16:24
onlysaint3-Apr-06 16:24 
AnswerRe: Help me,I happen to a error about the compliler in VC6.0 Pin
includeh103-Apr-06 20:48
includeh103-Apr-06 20:48 
QuestionHow to touch member variable from a exported dll class Pin
sting_lee3-Apr-06 16:23
sting_lee3-Apr-06 16:23 
QuestionDSOFramer in MFC Dialog Pin
Jenleonard3-Apr-06 14:13
Jenleonard3-Apr-06 14:13 
Question2D array help Pin
juztten3-Apr-06 14:07
juztten3-Apr-06 14:07 
I have a programming project for one of my classes, but I have no idea where to start. Any help would be TREMENDOUSLY appreciated!

Program description:

Design and implement a Visual C++ .NET program that creates a simple “spreadsheet”. Your spreadsheet will contain 5 rows by 5 columns of updateable cells. There will be a 6th row and column that will display the total of the respective row or column. When the program executes it will display the spreadsheet with zeros in all cells and all totals. The program will prompt the user to enter 1 to update the spreadsheet or 0 to quit. When the user enters 1 to update the spreadsheet the program should prompt the user to enter the row and column to update. The row will be an integer 1 thru 5 and the columns will be characters A/a thru E/e. (1a is the upper left cell) The program should continue to prompt for row and column until a valid input is received. Next the program will prompt the user for the new value to go into cell X (replace X with appropriate row/ column reference, see sample run). After the value is entered the program will reprint the updated sheet and once again prompt enter 1 to update 0 to quit.

Assumptions:

-Eight digits will be enough width for the cells (tab). Cell values will not exceed 9,999,999.

-The prompt for edit or quit will only be 1 or 0. No other values will be used.

-For your testing purposes, a sample data file (data.txt) will be posted to WebCT. You can open this file, copy the data, run your program and right click your mouse to paste it to your program window. Press enter and the program should process the data as shown in the sample run below.

-This project will be much easier if you use an array. Remember that the first index in an array is zero
AnswerRe: 2D array help Pin
Saurabh.Garg3-Apr-06 15:26
Saurabh.Garg3-Apr-06 15:26 
AnswerRe: 2D array help Pin
juztten3-Apr-06 16:25
juztten3-Apr-06 16:25 
Questionhelppp Pin
slurpyz3-Apr-06 13:06
slurpyz3-Apr-06 13:06 
AnswerRe: helppp Pin
Ryan Binns3-Apr-06 18:35
Ryan Binns3-Apr-06 18:35 
GeneralRe: helppp Pin
toxcct3-Apr-06 22:00
toxcct3-Apr-06 22:00 
GeneralRe: helppp Pin
Rudolf Jan4-Apr-06 0:35
Rudolf Jan4-Apr-06 0:35 
QuestionCList question concerning arrays Pin
brdavid3-Apr-06 12:48
brdavid3-Apr-06 12:48 
AnswerRe: CList question concerning arrays Pin
Iain Clarke, Warrior Programmer3-Apr-06 13:32
Iain Clarke, Warrior Programmer3-Apr-06 13:32 
GeneralRe: CList question concerning arrays Pin
brdavid3-Apr-06 14:21
brdavid3-Apr-06 14:21 
QuestionHelp on error C2632: 'char' followed by 'char' is illegal Pin
pavanbabut3-Apr-06 11:28
pavanbabut3-Apr-06 11:28 
AnswerRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
includeh103-Apr-06 12:24
includeh103-Apr-06 12:24 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
pavanbabut3-Apr-06 12:41
pavanbabut3-Apr-06 12:41 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
includeh103-Apr-06 12:51
includeh103-Apr-06 12:51 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
pavanbabut3-Apr-06 13:34
pavanbabut3-Apr-06 13:34 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
Amit Agarrwal3-Apr-06 19:05
Amit Agarrwal3-Apr-06 19:05 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
pavanbabut3-Apr-06 19:08
pavanbabut3-Apr-06 19:08 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
Amit Agarrwal3-Apr-06 19:38
Amit Agarrwal3-Apr-06 19:38 

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.